Add docs for new tests
This commit is contained in:
parent
2a1424e563
commit
af77a23501
|
@ -475,6 +475,7 @@ def test_logxml_changingdir(testdir):
|
||||||
assert testdir.tmpdir.join("a/x.xml").check()
|
assert testdir.tmpdir.join("a/x.xml").check()
|
||||||
|
|
||||||
def test_logxml_makedir(testdir):
|
def test_logxml_makedir(testdir):
|
||||||
|
"""--junitxml should automatically create directories for the xml file"""
|
||||||
testdir.makepyfile("""
|
testdir.makepyfile("""
|
||||||
def test_pass():
|
def test_pass():
|
||||||
pass
|
pass
|
||||||
|
|
|
@ -181,6 +181,7 @@ def test_generic(testdir, LineMatcher):
|
||||||
])
|
])
|
||||||
|
|
||||||
def test_makedir_for_resultlog(testdir, LineMatcher):
|
def test_makedir_for_resultlog(testdir, LineMatcher):
|
||||||
|
"""--resultlog should automatically create directories for the log file"""
|
||||||
testdir.plugins.append("resultlog")
|
testdir.plugins.append("resultlog")
|
||||||
testdir.makepyfile("""
|
testdir.makepyfile("""
|
||||||
import pytest
|
import pytest
|
||||||
|
|
Loading…
Reference in New Issue