diff options
Diffstat (limited to 'test/test_java_websockets.py')
-rw-r--r-- | test/test_java_websockets.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_java_websockets.py b/test/test_java_websockets.py index 5739e236..729aa31d 100644 --- a/test/test_java_websockets.py +++ b/test/test_java_websockets.py @@ -3,7 +3,6 @@ import time import pytest -from conftest import skip_alert from unit.applications.lang.java import TestApplicationJava from unit.applications.websockets import TestApplicationWebsocket from unit.option import option @@ -14,7 +13,8 @@ class TestJavaWebsockets(TestApplicationJava): ws = TestApplicationWebsocket() - def setup_method(self): + @pytest.fixture(autouse=True) + def setup_method_fixture(self, request, skip_alert): assert 'success' in self.conf( {'http': {'websocket': {'keepalive_interval': 0}}}, 'settings' ), 'clear keepalive_interval' |