diff --git a/test/rhsmlib/dbus/test_consumer.py b/test/rhsmlib/dbus/test_consumer.py index 969d6c7fd8..530e5fd146 100644 --- a/test/rhsmlib/dbus/test_consumer.py +++ b/test/rhsmlib/dbus/test_consumer.py @@ -28,7 +28,7 @@ def setUpClass(cls) -> None: name="get_consumer_uuid", ) cls.patches["get_consumer_uuid"] = get_consumer_uuid_patch.start() - cls.addClassCleanup(get_consumer_uuid_patch) + cls.addClassCleanup(get_consumer_uuid_patch.stop) super().setUpClass()