summaryrefslogtreecommitdiffhomepage
path: root/test/test_java_application.py
diff options
context:
space:
mode:
authorAndrey Zelenkov <zelenkov@nginx.com>2019-05-30 16:47:39 +0300
committerAndrey Zelenkov <zelenkov@nginx.com>2019-05-30 16:47:39 +0300
commit67772cd3e9905820ef090b0ae52b571f542548f5 (patch)
tree6fe5d5caf1caf05ebe4621c203b2ba181ba25a21 /test/test_java_application.py
parent90c5d3f5c0ad42ccdb764684f721b511131e0782 (diff)
downloadunit-67772cd3e9905820ef090b0ae52b571f542548f5.tar.gz
unit-67772cd3e9905820ef090b0ae52b571f542548f5.tar.bz2
Tests: fixed tests without "Host" header.
Diffstat (limited to 'test/test_java_application.py')
-rw-r--r--test/test_java_application.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/test/test_java_application.py b/test/test_java_application.py
index 7ccaadd5..5d0350fa 100644
--- a/test/test_java_application.py
+++ b/test/test_java_application.py
@@ -1128,17 +1128,6 @@ class TestJavaApplication(TestApplicationJava):
'get header names not equal',
)
- def test_java_application_get_header_names_empty(self):
- self.load('get_header_names')
-
- self.assertEqual(self.get()['status'], 200, 'init')
-
- self.assertNotIn(
- 'X-Reply-0',
- self.get(headers={}, read_timeout=1)['headers'],
- 'get header names empty',
- )
-
def test_java_application_header_int(self):
self.load('header_int')