Skip to content

Commit

Permalink
test: fix usage of value field of mock card
Browse files Browse the repository at this point in the history
  • Loading branch information
d-Rickyy-b committed Jul 19, 2020
1 parent a1c572f commit 04802ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blackjack/game/tests/blackjackgame_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def test_draw_card(self):
self.assertEqual(3, len(self.game.players[0].cards))

# And it should have a value of 1
self.assertEqual(1, self.game.players[0].cards[2])
self.assertEqual(1, self.game.players[0].cards[2].value)

def test_draw_card_game_not_running(self):
"""
Expand Down

0 comments on commit 04802ca

Please sign in to comment.