summaryrefslogtreecommitdiffhomepage
path: root/test/test_routing.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_routing.py')
-rw-r--r--test/test_routing.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_routing.py b/test/test_routing.py
index 4909a698..41de6f51 100644
--- a/test/test_routing.py
+++ b/test/test_routing.py
@@ -7,7 +7,8 @@ from unit.option import option
class TestRouting(TestApplicationPython):
prerequisites = {'modules': {'python': 'any'}}
- def setup_method(self):
+ @pytest.fixture(autouse=True)
+ def setup_method_fixture(self):
assert 'success' in self.conf(
{
"listeners": {"*:7080": {"pass": "routes"}},