From ec5a429c770f1f6f487fabd815cd89b7423e8098 Mon Sep 17 00:00:00 2001 From: Ronny Pfannschmidt Date: Thu, 17 Dec 2015 22:30:27 +0100 Subject: [PATCH] junitxml tests: extend with extra items --- testing/test_junitxml.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/testing/test_junitxml.py b/testing/test_junitxml.py index 208908048..0062ab135 100644 --- a/testing/test_junitxml.py +++ b/testing/test_junitxml.py @@ -706,6 +706,7 @@ def test_fancy_items_regression(testdir): return [ FunItem('a', self), NoFunItem('a', self), + NoFunItem('b', self), ] def pytest_collect_file(path, parent): @@ -731,8 +732,10 @@ def test_fancy_items_regression(testdir): assert items == [ u'conftest a conftest.py', u'conftest a conftest.py', + u'conftest b conftest.py', u'test_fancy_items_regression a test_fancy_items_regression.py', u'test_fancy_items_regression a test_fancy_items_regression.py', + u'test_fancy_items_regression b test_fancy_items_regression.py', u'test_fancy_items_regression test_pass' u' test_fancy_items_regression.py', ]