Last active
May 30, 2021 20:59
-
-
Save dantrim/b9afee1945d122cb488fa818f7b7837b to your computer and use it in GitHub Desktop.
HBD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import pytest | |
import some_lib | |
@pytest.fixture | |
def not_a_day_over(): | |
return 29 | |
def test_current_age(not_a_day_over): | |
""" | |
Ensure that one's current age is correct ;) | |
""" | |
assert some_lib.compute_current_age() == not_a_day_over | |
def hbd() : | |
print("Happy birthday Matthew!") | |
if __name__ == "__main__" : | |
hbd() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i'm not sure -- I think this is missing some CI :)
🎉 @matthewfeickert