Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
def do_stuff(arg):
if arg == 1 or arg == 2:
return "flarg"
return "glumphy"
def test_a():
assert do_stuff(1) == "flarg"
def test_b():
assert do_stuff(99) == "glumphy"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment