Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
dsschult committed Nov 14, 2024
1 parent fb0ab49 commit 770527c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/rest/datasets_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ async def test_rest_datasets_post_always_active(server):
'jobs_submitted': 1,
'tasks_submitted': 4,
'group': 'users',
'always_active': True
'always_active': True,
}
ret = await client.request('POST', '/datasets', data)
dataset_id = ret['result'].split('/')[-1]
Expand Down
1 change: 1 addition & 0 deletions tests/scheduled_tasks/dataset_completion_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ async def client(method, url, args=None):
elif url == '/config/foo':
return {}
elif url == '/datasets/foo':
client.called = True
return {'jobs_submitted':2, 'tasks_submitted':2, 'always_active': True}
else:
raise Exception()
Expand Down

0 comments on commit 770527c

Please sign in to comment.