Skip to content

Commit

Permalink
tests: add missing parent setUp() calls
Browse files Browse the repository at this point in the history
  • Loading branch information
zas authored and phw committed Nov 6, 2024
1 parent 4478043 commit 97bd3fb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/picardtestcase.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ def get_release_group_by_id(self, rg_id): # pylint: disable=no-self-use


class PicardTestCase(unittest.TestCase):

def setUp(self):
super().setUp()
log.set_level(logging.DEBUG)
setup_gettext(None, 'C')
self.tagger = FakeTagger()
Expand Down
1 change: 1 addition & 0 deletions test/test_debug_opt.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class DebugOptTestCase(DebugOptEnum):

class TestDebugOpt(PicardTestCase):
def setUp(self):
super().setUp()
DebugOptTestCase.set_registry(set())

def test_enabled(self):
Expand Down
1 change: 1 addition & 0 deletions test/test_mbjson.py
Original file line number Diff line number Diff line change
Expand Up @@ -664,6 +664,7 @@ def test_locale_specific_match_first_exc2(self):
class TestAliasesLocales(PicardTestCase):

def setUp(self):
super().setUp()
self.maxDiff = None

self.aliases = [
Expand Down

0 comments on commit 97bd3fb

Please sign in to comment.