summaryrefslogtreecommitdiffhomepage
path: root/test/test_routing.py
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2021-01-14 03:04:20 +0000
committerAndrei Zeliankou <zelenkov@nginx.com>2021-01-14 03:04:20 +0000
commitd43a84139d1adedbae8def67c8bbee09d8cf4581 (patch)
tree4e1b9ae1c6915e38fe0bf2de3d224cb9d1eb6c9b /test/test_routing.py
parent5d983ea762eba5fe26a07defbc09eeec8ecc5aeb (diff)
downloadunit-d43a84139d1adedbae8def67c8bbee09d8cf4581.tar.gz
unit-d43a84139d1adedbae8def67c8bbee09d8cf4581.tar.bz2
Tests: added missing checks for configuration results.
Diffstat (limited to 'test/test_routing.py')
-rw-r--r--test/test_routing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_routing.py b/test/test_routing.py
index 21c1899e..4d27cb61 100644
--- a/test/test_routing.py
+++ b/test/test_routing.py
@@ -316,7 +316,7 @@ class TestRouting(TestApplicationProto):
check_pass_error("%1", "%1")
def test_routes_absent(self):
- self.conf(
+ assert 'success' in self.conf(
{
"listeners": {"*:7081": {"pass": "applications/empty"}},
"applications": {