Skip to content

Commit

Permalink
fix unittests
Browse files Browse the repository at this point in the history
  • Loading branch information
ekneg54 committed Oct 21, 2024
1 parent 6983cbc commit 08c51a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/unit/framework/test_pipeline_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,7 @@ def test_start_starts_thread(self):
output_config = {"random_name": {"type": "dummy_output"}}
queue = ThrottlingQueue(multiprocessing.get_context(), 100)
listener = ComponentQueueListener(queue, target, output_config)
listener.component = mock.MagicMock()
with mock.patch.object(listener._instance, "start") as mock_start:
listener.start()
mock_start.assert_called()
Expand Down

0 comments on commit 08c51a9

Please sign in to comment.