test_ok1/example/funcarg/mysetup2/test_sample.py

7 lines
107 B
Python

def test_answer(mysetup):
app = mysetup.myapp()
answer = app.question()
assert answer == 42