work around flake8 annoyance
This commit is contained in:
parent
365ea122bc
commit
9fb528fb09
|
@ -400,6 +400,7 @@ class TestTerminal:
|
|||
"""
|
||||
)
|
||||
|
||||
long_reason = "cannot do foobar because baz is missing due to I don't know what"
|
||||
common_output = [
|
||||
"test_verbose_skip_reason.py::test_1 SKIPPED (123) *",
|
||||
"test_verbose_skip_reason.py::test_2 XPASS (456) *",
|
||||
|
@ -426,8 +427,14 @@ class TestTerminal:
|
|||
result.stdout.fnmatch_lines(
|
||||
common_output
|
||||
+ [
|
||||
"test_verbose_skip_reason.py::test_long_skip SKIPPED (cannot do foobar because baz is missing due to I don't know what) *",
|
||||
"test_verbose_skip_reason.py::test_long_xfail XFAIL (cannot do foobar because baz is missing due to I don't know what) *",
|
||||
(
|
||||
"test_verbose_skip_reason.py::test_long_skip SKIPPED"
|
||||
" (cannot do foobar because baz is missing due to I don't know what) *"
|
||||
),
|
||||
(
|
||||
"test_verbose_skip_reason.py::test_long_xfail XFAIL"
|
||||
" (cannot do foobar because baz is missing due to I don't know what) *"
|
||||
),
|
||||
]
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue