add the actually expected fixtureorder for #519

This commit is contained in:
Ronny Pfannschmidt 2017-01-18 14:51:29 +01:00
parent c081c5ee23
commit ea906056fa
1 changed files with 17 additions and 1 deletions

View File

@ -14,7 +14,23 @@ def checked_order():
yield order
pprint.pprint(order)
assert order == []
assert order == [
('testing/example_scripts/issue_519.py', 'fix1', 'arg1v1'),
('test_one[arg1v1-arg2v1]', 'fix2', 'arg2v1'),
('test_two[arg1v1-arg2v1]', 'fix2', 'arg2v1'),
('test_one[arg1v1-arg2v2]', 'fix2', 'arg2v2'),
('test_two[arg1v1-arg2v2]', 'fix2', 'arg2v2'),
('testing/example_scripts/issue_519.py', 'fix1', 'arg1v2'),
('test_one[arg1v2-arg2v1]', 'fix2', 'arg2v1'),
('test_two[arg1v2-arg2v1]', 'fix2', 'arg2v1'),
('test_one[arg1v2-arg2v2]', 'fix2', 'arg2v2'),
('test_two[arg1v2-arg2v2]', 'fix2', 'arg2v2'),
]
@pytest.yield_fixture(scope='module')