diff options
-rw-r--r-- | test/test_python_application.py | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/test/test_python_application.py b/test/test_python_application.py index 39493160..e5f1d02c 100644 --- a/test/test_python_application.py +++ b/test/test_python_application.py @@ -91,13 +91,8 @@ def application(environ, start_response): resp = self.get(url='/?var1=val1&var2=val2') - self.assertEqual(resp['status'], 200, 'status') - headers = resp['headers'] - headers.pop('Server') - self.assertDictEqual(headers, { - 'Content-Length': '0', - 'Query-String': 'var1=val1&var2=val2' - }, 'headers') + self.assertEqual(resp['headers']['Query-String'], 'var1=val1&var2=val2', + 'Query-String header') @unittest.expectedFailure def test_python_application_server_port(self): |