summaryrefslogtreecommitdiffhomepage
path: root/test/test_respawn.py
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2020-12-08 14:37:33 +0000
committerAndrei Zeliankou <zelenkov@nginx.com>2020-12-08 14:37:33 +0000
commitb2e767819f04153944d525ef8d97d2f3a7a9af74 (patch)
tree29748112e707e1cdd3cb1b556a3f437114e5898a /test/test_respawn.py
parent8f916285639d7f9aac9ef03cace5e4dcbcca70cd (diff)
downloadunit-b2e767819f04153944d525ef8d97d2f3a7a9af74.tar.gz
unit-b2e767819f04153944d525ef8d97d2f3a7a9af74.tar.bz2
Tests: skip_alert() converted to the fixture.
Diffstat (limited to '')
-rw-r--r--test/test_respawn.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/test_respawn.py b/test/test_respawn.py
index fbaad666..eef2cb56 100644
--- a/test/test_respawn.py
+++ b/test/test_respawn.py
@@ -2,7 +2,6 @@ import re
import subprocess
import time
-from conftest import skip_alert
from unit.applications.lang.python import TestApplicationPython
from unit.option import option
@@ -56,7 +55,7 @@ class TestRespawn(TestApplicationPython):
assert len(re.findall(self.PATTERN_CONTROLLER, output)) == 1
assert len(re.findall(self.app_name, output)) == 1
- def test_respawn_router(self):
+ def test_respawn_router(self, skip_alert):
pid = self.pid_by_name(self.PATTERN_ROUTER)
self.kill_pids(pid)
@@ -66,7 +65,7 @@ class TestRespawn(TestApplicationPython):
self.smoke_test()
- def test_respawn_controller(self):
+ def test_respawn_controller(self, skip_alert):
pid = self.pid_by_name(self.PATTERN_CONTROLLER)
self.kill_pids(pid)
@@ -78,7 +77,7 @@ class TestRespawn(TestApplicationPython):
self.smoke_test()
- def test_respawn_application(self):
+ def test_respawn_application(self, skip_alert):
pid = self.pid_by_name(self.app_name)
self.kill_pids(pid)