Apparently the test client now uses `https://localhost.local/' as URL

Previously this was 'http://localhost/'
This commit is contained in:
Sybren A. Stüvel 2018-08-29 11:27:00 +02:00
parent 6d6a40b8c0
commit e8123b7839

View File

@ -61,7 +61,7 @@ class ProjectCreationTest(AbstractProjectTest):
project_id = project_info['_id']
# Test that the Location header contains the location of the project document.
self.assertEqual('http://localhost/api/projects/%s' % project_id,
self.assertEqual('https://localhost.local/api/projects/%s' % project_id,
resp.headers['Location'])
# GET the project from the URL in the Location header to see if that works too.