diff --git a/.github/workflows/test-backend.yml b/.github/workflows/test-backend.yml index a0a00d3..4784c16 100644 --- a/.github/workflows/test-backend.yml +++ b/.github/workflows/test-backend.yml @@ -25,4 +25,4 @@ jobs: if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Test with pytest run: | - pytest \ No newline at end of file + python -m pytest \ No newline at end of file diff --git a/backend/conftest.py b/backend/conftest.py new file mode 100644 index 0000000..e69de29 diff --git a/backend/tests/__init__.py b/backend/tests/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/backend/tests/deck_test.py b/backend/tests/deck_test.py index 49a42c5..86333b2 100644 --- a/backend/tests/deck_test.py +++ b/backend/tests/deck_test.py @@ -1,4 +1,4 @@ -from dummy_socket import DummySocket +from tests.dummy_socket import DummySocket from bang.deck import Deck from bang.game import Game