fix pytest to work locally

This commit is contained in:
Giulio 2021-12-19 17:37:46 +01:00
parent 70a2c0609a
commit 697e597cf9
4 changed files with 2 additions and 3 deletions

View File

@ -22,4 +22,4 @@ COPY --from=builder ./dist /dist/
WORKDIR /dist WORKDIR /dist
EXPOSE 5001 EXPOSE 5001
ENTRYPOINT ["python", "/dist/__init__.py"] ENTRYPOINT ["python", "/dist/server.py"]

View File

View File

@ -1,11 +1,10 @@
from random import randint from random import randint
from bang.characters import Character from bang.characters import Character
from backend.bang.cards import Bang, Barile, Suit, Volcanic from bang.cards import *
from tests.dummy_socket import DummySocket from tests.dummy_socket import DummySocket
from bang.deck import Deck from bang.deck import Deck
from bang.game import Game from bang.game import Game
from bang.players import Player, PendingAction from bang.players import Player, PendingAction
from bang.cards import *
# test card Barile # test card Barile
def test_barile(): def test_barile():