summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2020-03-03 20:37:47 +0300
committerValentin Bartenev <vbart@nginx.com>2020-03-03 20:37:47 +0300
commita60f856ce2bc2eccbce0b0dfaa6ec98a30f74f67 (patch)
tree85d4cd7e8814898929c5c9f8fb775b9cd7e7164c /test
parentf99d20ad39a62cf30b6b0b01593336572484f4f5 (diff)
downloadunit-a60f856ce2bc2eccbce0b0dfaa6ec98a30f74f67.tar.gz
unit-a60f856ce2bc2eccbce0b0dfaa6ec98a30f74f67.tar.bz2
Improved validation of the "action" object.
Now it enforces the mutual exclusivity of "pass", "proxy", and "share" options.
Diffstat (limited to '')
-rw-r--r--test/test_routing.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/test_routing.py b/test/test_routing.py
index 67f10d10..f03c0bb3 100644
--- a/test/test_routing.py
+++ b/test/test_routing.py
@@ -288,8 +288,6 @@ class TestRouting(TestApplicationProto):
)
def test_routes_route_pass_absent(self):
- self.skip_alerts.append(r'failed to apply new conf')
-
self.assertIn(
'error',
self.conf([{"match": {"method": "GET"}, "action": {}}], 'routes'),