Skip to content

Commit

Permalink
fix(test): Properly stop method mock
Browse files Browse the repository at this point in the history
* Card ID: CCT-508

(Cherry-picked from 796f42b)
  • Loading branch information
m-horky authored and ptoscano committed May 22, 2024
1 parent 46ff386 commit 5c6990e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/rhsmlib/dbus/test_consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 5c6990e

Please sign in to comment.