drone-tutorial-python/test_good.py

8 rindas
144 B
Python

# Adapted from the test_sample.py example in the pytest documentation
def inc(x):
return x + 1
def test_answer():
assert inc(3) == 4