Tests: skip_alert() converted to the fixture.
This commit is contained in:
@@ -4,7 +4,6 @@ from distutils.version import LooseVersion
|
||||
|
||||
import pytest
|
||||
|
||||
from conftest import skip_alert
|
||||
from unit.applications.lang.python import TestApplicationPython
|
||||
from unit.option import option
|
||||
|
||||
@@ -361,7 +360,7 @@ Connection: close
|
||||
|
||||
self.get(headers=headers_delay_1)
|
||||
|
||||
def test_asgi_application_loading_error(self):
|
||||
def test_asgi_application_loading_error(self, skip_alert):
|
||||
skip_alert(r'Python failed to import module "blah"')
|
||||
|
||||
self.load('empty', module="blah")
|
||||
|
||||
Reference in New Issue
Block a user