Basic function tests
def test_testName():
pass # passes the testAssert
assert 5 == 10 # will fail if FalseErrors
with pytest.raises(ErrorType):
function_being_tested()
# pytest expects the function_being_tested to raise ErrorType
def test_testName():
pass # passes the testassert 5 == 10 # will fail if Falsewith pytest.raises(ErrorType):
function_being_tested()
# pytest expects the function_being_tested to raise ErrorType