We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aecbf81 commit 3d27d52Copy full SHA for 3d27d52
backend/app/tests/conftest.py
@@ -11,7 +11,7 @@
11
@pytest.fixture(autouse=True)
12
def mock_rabbitmq():
13
"""Mock RabbitMQ connections for all tests"""
14
- with patch('aio_pika.connect_robust') as mock_connect:
+ with patch("aio_pika.connect_robust") as mock_connect:
15
mock_channel = AsyncMock()
16
mock_exchange = AsyncMock()
17
mock_connection = AsyncMock()
@@ -23,6 +23,7 @@ def mock_rabbitmq():
23
24
yield mock_connect
25
26
+
27
settings.MONGO_DATABASE = "clowder-tests"
28
settings.elasticsearch_index = "clowder-tests"
29
0 commit comments