diff --git a/test/rhsmlib/base.py b/test/rhsmlib/base.py index 7d87c33b47..3eec4b79ff 100644 --- a/test/rhsmlib/base.py +++ b/test/rhsmlib/base.py @@ -115,6 +115,8 @@ def setUpClass(cls) -> None: **cls.dbus_class_kwargs, ) + super().setUpClass() + @classmethod def tearDownClass(cls) -> None: # Unload current DBus class @@ -127,9 +129,13 @@ def tearDownClass(cls) -> None: except AttributeError as exc: raise RuntimeError(f"Object {patch} cannot be stopped.") from exc + super().tearDownClass() + def tearDown(self) -> None: # Always reset the locale to default value. # Some tests (Attach, for example) are passing non-english language # strings to DBus methods, which are changing the global locale # settings. This teardown makes sure the language will always be reset. Locale.set(self.LOCALE) + + super().tearDown()