diff options
Diffstat (limited to 'src/mailman/runners/tests/test_rest.py')
| -rw-r--r-- | src/mailman/runners/tests/test_rest.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mailman/runners/tests/test_rest.py b/src/mailman/runners/tests/test_rest.py index 4bd71d990..470ede240 100644 --- a/src/mailman/runners/tests/test_rest.py +++ b/src/mailman/runners/tests/test_rest.py @@ -38,6 +38,7 @@ class TestRESTRunner(unittest.TestCase): wait_for_webservice() # This should not raise an exception. The best way to assert this is # to ensure that the response is valid. - response, json = call_api('http://localhost:9001/3.0/system') - self.assertEqual(json['content-location'], - 'http://localhost:9001/3.0/system') + json, response = call_api('http://localhost:9001/3.0/system/versions') + self.assertEqual( + json['self_link'], + 'http://localhost:9001/3.0/system/versions') |
