Skip to content

Commit

Permalink
mark test_async_main_runs_fully as asyncio
Browse files Browse the repository at this point in the history
  • Loading branch information
escapewindow committed Jun 1, 2018
1 parent 7f3c774 commit 31d37ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scriptworker/test/test_client.py
Expand Up @@ -207,8 +207,9 @@ def test_bad_artifact_url(valid_artifact_rules, valid_artifact_task_ids, url):
client.validate_artifact_url(valid_artifact_rules, valid_artifact_task_ids, url)


@pytest.mark.asyncio
@pytest.mark.parametrize('should_validate_task', (True, False))
def test_sync_main_runs_fully(config, event_loop, should_validate_task):
async def test_sync_main_runs_fully(config, event_loop, should_validate_task):
copyfile(BASIC_TASK, os.path.join(config['work_dir'], 'task.json'))
async_main_calls = []
run_until_complete_calls = []
Expand Down

0 comments on commit 31d37ab

Please sign in to comment.