Skip to content

Commit

Permalink
sorry sorry, nothing to see here
Browse files Browse the repository at this point in the history
  • Loading branch information
ndaneSource committed Nov 22, 2024
1 parent 6763dbc commit 79f56ad
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
verify:
poetry run pytest -v tests/test_vending_machine.py

poetry run coverage run --source py_check -m pytest tests;
poetry run coverage report;

run:
python py_check/main.py
Expand Down
13 changes: 13 additions & 0 deletions python/tests/test_main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
from py_check.main import get_bar, get_baz, get_foo


def test_get_foo_should_return_foo():
assert get_foo() == "foo"


def test_get_bar_should_return_bar():
assert get_bar() == "bar"


def test_get_baz_should_return_baz():
assert get_baz() == "baz"

1 comment on commit 79f56ad

@ndaneSource
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

everything back to how it was.

Please sign in to comment.