summaryrefslogtreecommitdiffhomepage
path: root/test/test_python_application.py
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2018-03-13 20:32:47 +0300
committerValentin Bartenev <vbart@nginx.com>2018-03-13 20:32:47 +0300
commitbebc5845f8454e91d12f2fc2561686e627f2f9aa (patch)
tree16e2e3eeb272d6ddac69c286e5c0cf6b517b2c22 /test/test_python_application.py
parent1ac9db47501a1c5e4e023945ad60614b8fc3b52d (diff)
downloadunit-bebc5845f8454e91d12f2fc2561686e627f2f9aa.tar.gz
unit-bebc5845f8454e91d12f2fc2561686e627f2f9aa.tar.bz2
Capitalization in the "Server" field.
Diffstat (limited to '')
-rw-r--r--test/test_python_application.py2
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'),