Revert "add DVLA organisations to API"

This commit is contained in:
Leo Hemsted
2017-04-20 18:21:56 +01:00
committed by GitHub
parent 95b3248a5e
commit c3e56d5d2d
14 changed files with 79 additions and 199 deletions

View File

@@ -1,13 +0,0 @@
from flask import json
from tests import create_authorization_header
def test_get_dvla_organisations(client):
auth_header = create_authorization_header()
response = client.get('/dvla_organisations', headers=[auth_header])
assert response.status_code == 200
dvla_organisations = json.loads(response.get_data(as_text=True))
assert dvla_organisations == {'001': 'HM Government', '500': 'Land Registry'}