Merge pull request #227 from alphagov/poll-job-page

Make job page poll for updates
This commit is contained in:
Rebecca Law
2016-03-04 11:07:14 +00:00
12 changed files with 260 additions and 117 deletions

View File

@@ -265,7 +265,7 @@ def test_create_job_should_call_api(
response = client.post(url, data=job_data, follow_redirects=True)
assert response.status_code == 200
assert 'Weve started sending your messages' in response.get_data(as_text=True)
assert original_file_name in response.get_data(as_text=True)
mock_create_job.assert_called_with(job_id, service_id, template_id, original_file_name, notification_count)