fix bug in test for issue 519

assert the actual outcome and fix the filename
This commit is contained in:
Ronny Pfannschmidt
2021-03-07 14:57:19 +01:00
parent 620e819656
commit 412fc001a0
3 changed files with 6 additions and 4 deletions

View File

@@ -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)