From b2e767819f04153944d525ef8d97d2f3a7a9af74 Mon Sep 17 00:00:00 2001 From: Andrei Zeliankou Date: Tue, 8 Dec 2020 14:37:33 +0000 Subject: Tests: skip_alert() converted to the fixture. --- test/test_share_fallback.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/test_share_fallback.py') 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', -- cgit