diff options
Diffstat (limited to 'test/test_njs.py')
-rw-r--r-- | test/test_njs.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/test/test_njs.py b/test/test_njs.py index 86a8a4ba..dc0ff921 100644 --- a/test/test_njs.py +++ b/test/test_njs.py @@ -5,18 +5,16 @@ from unit.applications.proto import TestApplicationProto from unit.option import option from unit.utils import waitforfiles +prerequisites = {'modules': {'njs': 'any'}} -class TestNJS(TestApplicationProto): - prerequisites = {'modules': {'njs': 'any'}} +class TestNJS(TestApplicationProto): @pytest.fixture(autouse=True) def setup_method_fixture(self, temp_dir): assert 'success' in self.conf( { "listeners": {"*:7080": {"pass": "routes"}}, - "routes": [ - {"action": {"share": f"{temp_dir}/assets$uri"}} - ], + "routes": [{"action": {"share": f"{temp_dir}/assets$uri"}}], } ) |