From af77a23501611302bdeeec66c02390b9e5762689 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Wed, 17 Jun 2015 00:04:25 -0300 Subject: [PATCH] Add docs for new tests --- testing/test_junitxml.py | 1 + testing/test_resultlog.py | 1 + 2 files changed, 2 insertions(+) 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