Add example script and failure for #3742

This commit is contained in:
Bruno Oliveira
2018-07-31 17:50:55 -03:00
parent 253419316c
commit e1ad1a14af
4 changed files with 17 additions and 0 deletions

View File

@@ -1619,6 +1619,11 @@ class TestFixtureManagerParseFactories(object):
reprec = testdir.inline_run()
reprec.assertoutcome(passed=2)
def test_collect_custom_items(self, testdir):
testdir.copy_example("fixtures/custom_item")
result = testdir.runpytest("foo")
result.stdout.fnmatch_lines("*passed*")
class TestAutouseDiscovery(object):
@pytest.fixture