diff options
author | Valentin Bartenev <vbart@nginx.com> | 2018-03-13 20:32:47 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2018-03-13 20:32:47 +0300 |
commit | bebc5845f8454e91d12f2fc2561686e627f2f9aa (patch) | |
tree | 16e2e3eeb272d6ddac69c286e5c0cf6b517b2c22 /test/test_python_application.py | |
parent | 1ac9db47501a1c5e4e023945ad60614b8fc3b52d (diff) | |
download | unit-bebc5845f8454e91d12f2fc2561686e627f2f9aa.tar.gz unit-bebc5845f8454e91d12f2fc2561686e627f2f9aa.tar.bz2 |
Capitalization in the "Server" field.
Diffstat (limited to '')
-rw-r--r-- | test/test_python_application.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_python_application.py b/test/test_python_application.py index 00b901bc..3090cb2a 100644 --- a/test/test_python_application.py +++ b/test/test_python_application.py @@ -20,7 +20,7 @@ class TestUnitPythonApplication(unit.TestUnitApplicationPython): self.assertEqual(resp['status'], 200, 'status') headers = resp['headers'] - self.assertRegex(headers.pop('Server'), r'unit/[\d\.]+', + self.assertRegex(headers.pop('Server'), r'Unit/[\d\.]+', 'server header') self.assertLess(abs(time.mktime(time.gmtime()) - time.mktime(time.strptime(headers.pop('Date'), |