From 00bc344f1eaf73b9a635806e70bac4157b897e6c Mon Sep 17 00:00:00 2001 From: mhorky Date: Tue, 21 May 2024 13:04:29 +0200 Subject: [PATCH] fix(test): Properly stop method mock * Card ID: CCT-508 (Cherry-picked from 796f42b01ac91d7cf1b993317e1b98816c0de1ff) --- test/rhsmlib/dbus/test_consumer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()