Tests: check initial configuration in test_routing.py.

This commit is contained in:
Andrey Zelenkov
2019-10-23 16:05:40 +03:00
parent 1bece759a3
commit 31bbc755fd

View File

@@ -8,6 +8,8 @@ class TestRouting(TestApplicationProto):
def setUp(self): def setUp(self):
super().setUp() super().setUp()
self.assertIn(
'success',
self.conf( self.conf(
{ {
"listeners": {"*:7080": {"pass": "routes"}}, "listeners": {"*:7080": {"pass": "routes"}},
@@ -36,6 +38,8 @@ class TestRouting(TestApplicationProto):
}, },
}, },
} }
),
'routing configure',
) )
def route(self, route): def route(self, route):