Tests: skip_alert() converted to the fixture.

This commit is contained in:
Andrei Zeliankou
2020-12-08 14:37:33 +00:00
parent 8f91628563
commit b2e767819f
15 changed files with 32 additions and 39 deletions

View File

@@ -2,7 +2,6 @@ import re
import pytest
from conftest import skip_alert
from conftest import unit_stop
from unit.applications.lang.perl import TestApplicationPerl
@@ -170,7 +169,7 @@ class TestPerlApplication(TestApplicationPerl):
assert self.get()['body'] == 'body\n', 'body io file'
@pytest.mark.skip('not yet')
def test_perl_application_syntax_error(self):
def test_perl_application_syntax_error(self, skip_alert):
skip_alert(r'PSGI: Failed to parse script')
self.load('syntax_error')