[foo] Add a module so we can test and create a coverage report
This commit is contained in:
parent
a7c73f559f
commit
b5663d1bc8
2 changed files with 10 additions and 0 deletions
2
src/foo.py
Normal file
2
src/foo.py
Normal file
|
@ -0,0 +1,2 @@
|
|||
def dummy():
|
||||
return (1, 1, 1)
|
8
tests/test_something.py
Normal file
8
tests/test_something.py
Normal 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)
|
Loading…
Reference in a new issue