summaryrefslogtreecommitdiffhomepage
path: root/test/test_proxy.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_proxy.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_proxy.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/test_proxy.py b/test/test_proxy.py
index 975a76a0..0eebab1e 100644
--- a/test/test_proxy.py
+++ b/test/test_proxy.py
@@ -5,7 +5,6 @@ import time
import pytest
from conftest import run_process
-from conftest import skip_alert
from unit.applications.lang.python import TestApplicationPython
from unit.option import option
from unit.utils import waitforsocket
@@ -482,7 +481,7 @@ Content-Length: 10
check_proxy('http://[:]:7080')
check_proxy('http://[::7080')
- def test_proxy_loop(self):
+ def test_proxy_loop(self, skip_alert):
skip_alert(
r'socket.*failed',
r'accept.*failed',