test_ok2/testing/examples/test_issue519.py

8 lines
203 B
Python

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