[foo] Add a module so we can test and create a coverage report

This commit is contained in:
bronsen 2024-11-20 23:39:54 +01:00
parent a7c73f559f
commit b5663d1bc8
2 changed files with 10 additions and 0 deletions

2
src/foo.py Normal file
View file

@ -0,0 +1,2 @@
def dummy():
return (1, 1, 1)

8
tests/test_something.py Normal file
View file

@ -0,0 +1,8 @@
def test_always_true():
assert True
def test_something_in_src():
from foo import dummy
assert dummy() == (1, 1, 1)