def test_contain_ace( self ): #Checks if the Player holds an ace or not. Returns true if he does, false if he doesn't player = Player("Mikkel") player.hand.append(Card("Hearts", "Ace", 11)) self.assertTrue(player.contains_ace(), "Fails if there's no ace in hand")