def test_turn_tells_player_roll(): # This should result in a roll of 4. random.seed(0) player = TestPlayer() turn = Turn(player) turn.go() assert player.rolls == [4]