summaryrefslogtreecommitdiffhomepage
path: root/test/test_routing.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_routing.py
parent7ad4a7670470872d78d2f552efa346a66ed4845e (diff)
downloadunit-90c5d3f5c0ad42ccdb764684f721b511131e0782.tar.gz
unit-90c5d3f5c0ad42ccdb764684f721b511131e0782.tar.bz2
Tests: adjusted skipping tests.
Diffstat (limited to '')
-rw-r--r--test/test_routing.py20
1 files changed, 0 insertions, 20 deletions
diff --git a/test/test_routing.py b/test/test_routing.py
index 6c0afe9a..f93ccd68 100644
--- a/test/test_routing.py
+++ b/test/test_routing.py
@@ -1055,7 +1055,6 @@ class TestRouting(TestApplicationProto):
self.get(url='/%62%6c%61%68')['status'], 200, 'match uri normalize'
)
- @unittest.expectedFailure
def test_routes_match_empty_array(self):
self.assertIn(
'success',
@@ -1077,16 +1076,7 @@ class TestRouting(TestApplicationProto):
'match empty array',
)
- @unittest.expectedFailure
def test_routes_reconfigure(self):
- self.skip_sanitizer = True
- self.skip_alerts.extend(
- [
- r'failed to apply',
- r'process \d+ exited on signal',
- ]
- )
-
self.assertIn('success', self.conf([], 'routes'), 'routes redefine')
self.assertEqual(self.get()['status'], 404, 'routes redefine request')
@@ -1170,16 +1160,7 @@ class TestRouting(TestApplicationProto):
self.get()['status'], 200, 'routes redefine request 8'
)
- @unittest.expectedFailure
def test_routes_edit(self):
- self.skip_sanitizer = True
- self.skip_alerts.extend(
- [
- r'failed to apply',
- r'process \d+ exited on signal',
- ]
- )
-
self.assertIn(
'success',
self.conf(
@@ -1321,7 +1302,6 @@ class TestRouting(TestApplicationProto):
'route edit configure 9',
)
- @unittest.expectedFailure
def test_match_edit(self):
self.skip_alerts.append(r'failed to apply new conf')