remove an old duplicate marker and use recent pytest mechanism for parametrization

This commit is contained in:
holger krekel
2013-11-21 14:40:14 +01:00
parent e31f40c2d0
commit 2700a94d49
6 changed files with 14 additions and 28 deletions

View File

@@ -182,7 +182,7 @@ def test_setinitial_confcut(testdir):
assert conftest.getconftestmodules(sub) == []
assert conftest.getconftestmodules(conf.dirpath()) == []
@pytest.mark.multi(name='test tests whatever .dotdir'.split())
@pytest.mark.parametrize("name", 'test tests whatever .dotdir'.split())
def test_setinitial_conftest_subdirs(testdir, name):
sub = testdir.mkdir(name)
subconftest = sub.ensure("conftest.py")