Testing demo: pytest without classes failure
import mymath
def test_math():
assert mymath.add(2, 2) == 4
def test_more_math():
assert mymath.add(3, 3) == 6
{% embed include file="src/examples/testing-demo/test_with_pytest_failure.out)
$ pytest test_with_pytest.py
$ echo $?
1
> pytest test_with_pytest.py
> echo %ERRORLEVEL%
1