Skip to content

Commit

Permalink
fix mock patch
Browse files Browse the repository at this point in the history
  • Loading branch information
pedohorse committed Oct 28, 2024
1 parent d68eeea commit 6632c4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lifeblood_testing_common/nodes_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ async def _helper_test_worker_node(self,
"""
purge_db()
with mock.patch('lifeblood.scheduler.scheduler.Pinger') as ppatch, \
with mock.patch('lifeblood.scheduler.scheduler_core.Pinger') as ppatch, \
mock.patch('lifeblood.worker.Worker.scheduler_pinger') as wppatch:

ppatch.return_value = mock.AsyncMock(Pinger)
Expand Down

0 comments on commit 6632c4c

Please sign in to comment.