mirror of
https://github.com/fergalmoran/picard.git
synced 2026-01-04 07:33:59 +00:00
Make PicardTestCase the parent class of all tests
This brings the faketagger and, more importantly, settings reset to all of them.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import json
|
||||
import os
|
||||
from test.picardtestcase import PicardTestCase
|
||||
|
||||
from picard import config
|
||||
from picard.album import Album
|
||||
@@ -17,7 +18,6 @@ from picard.mbjson import (
|
||||
from picard.metadata import Metadata
|
||||
from picard.releasegroup import ReleaseGroup
|
||||
from picard.track import Track
|
||||
from test.picardtestcase import PicardTestCase
|
||||
|
||||
settings = {
|
||||
"standardize_tracks": False,
|
||||
@@ -31,7 +31,7 @@ settings = {
|
||||
|
||||
class MBJSONTest(PicardTestCase):
|
||||
def setUp(self):
|
||||
super(MBJSONTest, self).setUp()
|
||||
super().setUp()
|
||||
self.init_test(self.filename)
|
||||
|
||||
def init_test(self, filename):
|
||||
|
||||
Reference in New Issue
Block a user