Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog/8411.trivial.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Assert the outcomes for the issue 518 test and fix the test.
4 changes: 2 additions & 2 deletions testing/example_scripts/issue_519.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ def checked_order():
yield order
pprint.pprint(order)
assert order == [
("testing/example_scripts/issue_519.py", "fix1", "arg1v1"),
("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"),
("issue_519.py", "fix1", "arg1v2"),
("test_one[arg1v2-arg2v1]", "fix2", "arg2v1"),
("test_two[arg1v2-arg2v1]", "fix2", "arg2v1"),
("test_one[arg1v2-arg2v2]", "fix2", "arg2v2"),
Expand Down
5 changes: 3 additions & 2 deletions testing/examples/test_issue519.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from _pytest.pytester import Pytester


def test_510(pytester: Pytester) -> None:
def test_519(pytester: Pytester) -> None:
pytester.copy_example("issue_519.py")
pytester.runpytest("issue_519.py")
res = pytester.runpytest("issue_519.py")
res.assert_outcomes(passed=8)