diff --git a/testing/test_junitxml.py b/testing/test_junitxml.py index 65e3ca03f..d019f87cc 100644 --- a/testing/test_junitxml.py +++ b/testing/test_junitxml.py @@ -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 diff --git a/testing/test_resultlog.py b/testing/test_resultlog.py index 96686d3a2..ef1d6d040 100644 --- a/testing/test_resultlog.py +++ b/testing/test_resultlog.py @@ -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