summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_perl_application.py2
-rw-r--r--test/test_python_application.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/test_perl_application.py b/test/test_perl_application.py
index f5a23a69..bfc82f99 100644
--- a/test/test_perl_application.py
+++ b/test/test_perl_application.py
@@ -21,7 +21,7 @@ class TestUnitPerlApplication(unit.TestUnitApplicationPerl):
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'),
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'),