Ensure fixtures obtained with getfixturevalue() are finalized in the correct order

Fix #1895
This commit is contained in:
Bruno Oliveira
2019-02-27 21:10:37 -03:00
parent e1f97e41e3
commit 7dceabfcb2
3 changed files with 20 additions and 6 deletions

View File

@@ -1866,7 +1866,7 @@ class TestAutouseManagement(object):
"setup-2", "step1-2", "step2-2", "teardown-2",]
"""
)
reprec = testdir.inline_run("-s")
reprec = testdir.inline_run("-v")
reprec.assertoutcome(passed=5)
def test_ordering_autouse_before_explicit(self, testdir):