Add docs for new tests

This commit is contained in:
Bruno Oliveira 2015-06-17 00:04:25 -03:00
parent 2a1424e563
commit af77a23501
2 changed files with 2 additions and 0 deletions

View File

@ -475,6 +475,7 @@ def test_logxml_changingdir(testdir):
assert testdir.tmpdir.join("a/x.xml").check()
def test_logxml_makedir(testdir):
"""--junitxml should automatically create directories for the xml file"""
testdir.makepyfile("""
def test_pass():
pass

View File

@ -181,6 +181,7 @@ def test_generic(testdir, LineMatcher):
])
def test_makedir_for_resultlog(testdir, LineMatcher):
"""--resultlog should automatically create directories for the log file"""
testdir.plugins.append("resultlog")
testdir.makepyfile("""
import pytest