Parse the JOB API response converting new style response to old style object

- allows migration of API
This commit is contained in:
Martyn Inglis
2016-08-23 16:58:50 +01:00
parent 9b389b93b3
commit 4a551329c5
2 changed files with 35 additions and 3 deletions

View File

@@ -184,7 +184,6 @@ def test_should_show_updates_for_one_job_as_json(
assert 'Recipient' in content['notifications']
assert '07123456789' in content['notifications']
assert 'Status' in content['notifications']
print(content['notifications'])
assert 'Delivered' in content['notifications']
assert '11:10' in content['notifications']
assert 'Uploaded by Test User on 1 January at 11:09' in content['status']