Skip to content

Commit

Permalink
test: Fix unit test test_start
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramimashkouk committed May 15, 2024
1 parent d7a2925 commit 9c9a963
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ async def test_start(self, mocker, preset, run_manager): # noqa: F811
run_process = mocker.patch("app.services.process_manager.RunProcess")
run_process_instance = run_process.return_value
run_process_instance.start = mocker.AsyncMock()
run_manager.get_full_info = mocker.AsyncMock(return_value=[{"id":RUN_ID}])

await run_manager.start(build_id=BUILD_ID, preset=preset)

Expand Down

0 comments on commit 9c9a963

Please sign in to comment.