summaryrefslogtreecommitdiffhomepage
path: root/test/test_python_application.py
diff options
context:
space:
mode:
authorAndrey Zelenkov <zelenkov@nginx.com>2019-05-30 16:46:04 +0300
committerAndrey Zelenkov <zelenkov@nginx.com>2019-05-30 16:46:04 +0300
commit90c5d3f5c0ad42ccdb764684f721b511131e0782 (patch)
tree5ea5423e5084feee9d8d965be5e2e7bcb4a8d121 /test/test_python_application.py
parent7ad4a7670470872d78d2f552efa346a66ed4845e (diff)
downloadunit-90c5d3f5c0ad42ccdb764684f721b511131e0782.tar.gz
unit-90c5d3f5c0ad42ccdb764684f721b511131e0782.tar.bz2
Tests: adjusted skipping tests.
Diffstat (limited to '')
-rw-r--r--test/test_python_application.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/test_python_application.py b/test/test_python_application.py
index 337dfcc3..3484b25e 100644
--- a/test/test_python_application.py
+++ b/test/test_python_application.py
@@ -91,7 +91,7 @@ class TestPythonApplication(TestApplicationPython):
resp['headers']['Query-String'], '', 'query string absent'
)
- @unittest.expectedFailure
+ @unittest.skip('not yet')
def test_python_application_server_port(self):
self.load('server_port')
@@ -327,13 +327,13 @@ Connection: close
self.wait_for_record(r'At exit called\.'), 'atexit'
)
- @unittest.expectedFailure
+ @unittest.skip('not yet')
def test_python_application_start_response_exit(self):
self.load('start_response_exit')
self.assertEqual(self.get()['status'], 500, 'start response exit')
- @unittest.expectedFailure
+ @unittest.skip('not yet')
def test_python_application_input_iter(self):
self.load('input_iter')
@@ -390,7 +390,7 @@ Connection: close
self.assertEqual(resp['body'], body, 'input read length negative')
- @unittest.expectedFailure
+ @unittest.skip('not yet')
def test_python_application_errors_write(self):
self.load('errors_write')
@@ -418,7 +418,7 @@ Connection: close
self.assertEqual(self.get()['body'], 'body\n', 'body io file')
- @unittest.expectedFailure
+ @unittest.skip('not yet')
def test_python_application_syntax_error(self):
self.skip_alerts.append(r'Python failed to import module "wsgi"')
self.load('syntax_error')