Exemplo n.º 1
0
 def test_player_py_negative(self):
     with pytest.raises(PlayerParameterException):
         player = Player(name, tuple_ones)
         player.round = -1
Exemplo n.º 2
0
 def test_player_py_decimal(self):
     with pytest.raises(PlayerParameterException):
         player = Player(name, tuple_ones)
         player.round = 3.5
Exemplo n.º 3
0
 def test_player_round_is_not_number(self):
     with pytest.raises(PlayerParameterException):
         player = Player(name, tuple_ones)
         player.round = "Tests"