Skip to content

Commit

Permalink
explicitly stop mock_backend to be unavailable
Browse files Browse the repository at this point in the history
  • Loading branch information
dsavchenko committed Aug 14, 2024
1 parent a4bd196 commit 709875a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,9 @@ def test_instrument_products(dispatcher_live_fixture, mock_backend):
'table': 'table_query'}


def test_instrument_backend_unavailable(dispatcher_live_fixture):
def test_instrument_backend_unavailable(dispatcher_live_fixture, mock_backend):
# current behaviour is to have instrument with no products, could be changed in the future
mock_backend.stop()
server = dispatcher_live_fixture
logger.info("constructed server: %s", server)

Expand Down

0 comments on commit 709875a

Please sign in to comment.