From 05a046d89b86a71fb38d8d97ad0af4085f3e31e8 Mon Sep 17 00:00:00 2001 From: Mattia Verga Date: Nov 09 2022 16:11:02 +0000 Subject: Fix tests with fedora-messaging 3.2 Signed-off-by: Mattia Verga --- diff --git a/tests/test_consumers.py b/tests/test_consumers.py index a08ed31..e4366a0 100644 --- a/tests/test_consumers.py +++ b/tests/test_consumers.py @@ -28,7 +28,7 @@ TEST_CONFIG = { } -@mock.patch( +@mock.patch.dict( "robosignatory.consumer.fedora_messaging.config.conf", {"consumer_config": TEST_CONFIG} ) diff --git a/tests/test_tag.py b/tests/test_tag.py index 53af647..604ca54 100644 --- a/tests/test_tag.py +++ b/tests/test_tag.py @@ -174,7 +174,7 @@ class DummyContext(object): pass -@mock.patch( +@mock.patch.dict( 'robosignatory.consumer.fedora_messaging.config.conf', {'consumer_config': TEST_CONFIG} )