From e8123b7839ebd4dae4201b49b0911e4fcb109d84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Wed, 29 Aug 2018 11:27:00 +0200 Subject: [PATCH] Apparently the test client now uses `https://localhost.local/' as URL Previously this was 'http://localhost/' --- tests/test_api/test_project_management.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_api/test_project_management.py b/tests/test_api/test_project_management.py index 20ecec03..dc5bd0fc 100644 --- a/tests/test_api/test_project_management.py +++ b/tests/test_api/test_project_management.py @@ -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.