Skip to content
Snippets Groups Projects
Commit 5172e785 authored by Erik Reid's avatar Erik Reid
Browse files

test that update task id is correctly cached

parent eb712eaa
No related branches found
No related tags found
No related merge requests found
......@@ -67,6 +67,10 @@ def test_job_update_all(client, mocker):
jsonschema.validate(refresh_task_response, TASK_ID_RESPONSE_SCHEMA)
assert refresh_task_response['task id'] == expected_task_id
db = backend_db()
assert db['classifier-cache:update-task-id'] \
== expected_task_id.encode('utf-8')
def test_job_update_force_pending(client, mocker):
expected_task_id = 'asf#asdf%111'
......
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