parent
1771cb0af8
commit
7629b8fda7
|
@ -279,10 +279,9 @@ class TestTerminal:
|
||||||
def pytest_report_header(config):
|
def pytest_report_header(config):
|
||||||
return "hello: info"
|
return "hello: info"
|
||||||
""")
|
""")
|
||||||
testdir.mkdir("a").join("conftest.py").write("""if 1:
|
testdir.mkdir("a").join("conftest.py").write("""
|
||||||
def pytest_report_header(config):
|
def pytest_report_header(config):
|
||||||
return ["line1", "line2"]
|
return ["line1", "line2"]""")
|
||||||
""")
|
|
||||||
result = testdir.runpytest("a")
|
result = testdir.runpytest("a")
|
||||||
result.stdout.fnmatch_lines([
|
result.stdout.fnmatch_lines([
|
||||||
"*hello: info*",
|
"*hello: info*",
|
||||||
|
|
Loading…
Reference in New Issue