Skip to content

Commit

Permalink
add the actually expected fixtureorder for #519
Browse files Browse the repository at this point in the history
  • Loading branch information
RonnyPfannschmidt committed Jul 28, 2017
1 parent fabed44 commit 3410c8e
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion testing/example_scripts/issue_519.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 3410c8e

Please sign in to comment.