Merge pull request #3751 from nicoddemus/collect-file-bug

Workaround for #3742
This commit is contained in:
Ronny Pfannschmidt
2018-08-02 07:35:46 +02:00
committed by GitHub
6 changed files with 21 additions and 2 deletions

View File

@@ -1618,6 +1618,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