summaryrefslogtreecommitdiffhomepage
path: root/test/test_return.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_return.py')
-rw-r--r--test/test_return.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_return.py b/test/test_return.py
index e65a7a31..71b1242c 100644
--- a/test/test_return.py
+++ b/test/test_return.py
@@ -1,12 +1,14 @@
import re
+import pytest
from unit.applications.proto import TestApplicationProto
class TestReturn(TestApplicationProto):
prerequisites = {}
- def setup_method(self):
+ @pytest.fixture(autouse=True)
+ def setup_method_fixture(self):
self._load_conf(
{
"listeners": {"*:7080": {"pass": "routes"}},