diff options
Diffstat (limited to 'test/test_rewrite.py')
-rw-r--r-- | test/test_rewrite.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_rewrite.py b/test/test_rewrite.py index 3bc7df19..ba4ca577 100644 --- a/test/test_rewrite.py +++ b/test/test_rewrite.py @@ -8,7 +8,8 @@ from unit.option import option class TestRewrite(TestApplicationProto): prerequisites = {} - def setup_method(self): + @pytest.fixture(autouse=True) + def setup_method_fixture(self): assert 'success' in self.conf( { "listeners": {"*:7080": {"pass": "routes"}}, |