summaryrefslogtreecommitdiffhomepage
path: root/test/test_share_fallback.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_share_fallback.py
parent8f916285639d7f9aac9ef03cace5e4dcbcca70cd (diff)
downloadunit-b2e767819f04153944d525ef8d97d2f3a7a9af74.tar.gz
unit-b2e767819f04153944d525ef8d97d2f3a7a9af74.tar.bz2
Tests: skip_alert() converted to the fixture.
Diffstat (limited to 'test/test_share_fallback.py')
-rw-r--r--test/test_share_fallback.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/test_share_fallback.py b/test/test_share_fallback.py
index 151d3ae5..a02cb1a3 100644
--- a/test/test_share_fallback.py
+++ b/test/test_share_fallback.py
@@ -1,6 +1,5 @@
import os
-from conftest import skip_alert
from unit.applications.proto import TestApplicationProto
from unit.option import option
@@ -117,7 +116,7 @@ class TestStatic(TestApplicationProto):
assert resp['status'] == 200, 'fallback proxy status'
assert resp['body'] == '', 'fallback proxy'
- def test_fallback_proxy_loop(self):
+ def test_fallback_proxy_loop(self, skip_alert):
skip_alert(
r'open.*/blah/index.html.*failed',
r'accept.*failed',