summaryrefslogtreecommitdiffhomepage
path: root/test/test_variables.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_variables.py')
-rw-r--r--test/test_variables.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_variables.py b/test/test_variables.py
index 545d61e9..4b924147 100644
--- a/test/test_variables.py
+++ b/test/test_variables.py
@@ -1,6 +1,7 @@
import re
import time
+import pytest
from unit.applications.proto import TestApplicationProto
from unit.option import option
@@ -8,7 +9,8 @@ from unit.option import option
class TestVariables(TestApplicationProto):
prerequisites = {}
- def setup_method(self):
+ @pytest.fixture(autouse=True)
+ def setup_method_fixture(self):
assert 'success' in self.conf(
{
"listeners": {"*:7080": {"pass": "routes"}},