Skip to content
Snippets Groups Projects
Commit 9a023395 authored by Thomas Kluyver's avatar Thomas Kluyver
Browse files

Fix test for skipping dark runs

parent d8eb8f85
No related branches found
No related tags found
1 merge request!759[Webservice] Check run type more directly in myMdC response
......@@ -408,9 +408,7 @@ async def test_get_slurm_nice_fails(fp):
async def test_skip_runs(run_type: str, experiment_type_id:int, should_skip: bool):
res_run_by_id = mock.Mock()
res_run_by_id.status_code = 200
res_run_by_id.json = lambda: {
"data_groups_repositories": [{"experiment": {"name": run_type, "id": 0}}]
}
res_run_by_id.json = lambda: {"experiment": {"name": run_type, "id": 0}}
res_experiment_by_id = mock.Mock()
res_experiment_by_id.status_code = 200
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment