diff options
author | Andrey Zelenkov <zelenkov@nginx.com> | 2018-12-25 16:35:35 +0300 |
---|---|---|
committer | Andrey Zelenkov <zelenkov@nginx.com> | 2018-12-25 16:35:35 +0300 |
commit | f57e729a119660182d333f513b70b78177eb2b62 (patch) | |
tree | e239f56a7ed2fb12cb0c5b659576a2f6237c74b1 /test/test_node_application.py | |
parent | f9a3328a2510e7237b8bd8f35a57914f6a22bbd2 (diff) | |
download | unit-f57e729a119660182d333f513b70b78177eb2b62.tar.gz unit-f57e729a119660182d333f513b70b78177eb2b62.tar.bz2 |
Tests: expectedFailure's removed from test_node_application.py.
Also removed alert skip in test_node_application_write_before_writeHead.
Fixes committed in 1340e3539362, 1e008ef94f43, 5df32621af19, dae402cb243f
and 41f561b3a178.
Diffstat (limited to '')
-rw-r--r-- | test/test_node_application.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/test/test_node_application.py b/test/test_node_application.py index 5dedb5a3..a9f5b8a3 100644 --- a/test/test_node_application.py +++ b/test/test_node_application.py @@ -112,7 +112,6 @@ class TestUnitNodeApplication(unit.TestUnitApplicationNode): self.assertEqual(self.get()['body'], '6\r\nbuffer\r\n0\r\n\r\n', 'write buffer') - @unittest.expectedFailure def test_node_application_write_callback(self): self.load('write_callback') @@ -122,7 +121,6 @@ class TestUnitNodeApplication(unit.TestUnitApplicationNode): 'write callback') def test_node_application_write_before_writeHead(self): - self.skip_alerts.append(r'process \d+ exited on signal') self.load('write_before_write_head') self.get() @@ -182,7 +180,6 @@ class TestUnitNodeApplication(unit.TestUnitApplicationNode): self.assertEqual(self.get()['headers']['X-Type'], 'number', 'get header type') - @unittest.expectedFailure def test_node_application_header_name_case(self): self.load('header_name_case') @@ -202,9 +199,7 @@ class TestUnitNodeApplication(unit.TestUnitApplicationNode): self.assertTrue(self.waitforfiles(self.testdir + '/node/callback'), 'promise handler') - @unittest.expectedFailure def test_node_application_promise_handler_write_after_end(self): - self.skip_alerts.append(r'process \d+ exited on signal') self.load('promise_handler') self.assertEqual(self.post(headers={ @@ -249,13 +244,11 @@ class TestUnitNodeApplication(unit.TestUnitApplicationNode): self.assertNotIn('status', self.get(), 'header name valid') - @unittest.expectedFailure def test_node_application_header_value_object(self): self.load('header_value_object') self.assertIn('X-Header', self.get()['headers'], 'header value object') - @unittest.expectedFailure def test_node_application_get_header_names(self): self.load('get_header_names') |