fix bug in test for issue 519
assert the actual outcome and fix the filename
This commit is contained in:
parent
620e819656
commit
412fc001a0
|
@ -0,0 +1 @@
|
|||
Assert the outcomes for the issue 518 test and fix the test.
|
|
@ -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"),
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue