Пример #1
0
 def start_some_players(self, should_be_stuck):
     bots = []
     for player in self.group1.get_players():
         bot = ParticipantBot(player.participant, load_player_bots=False)
         bots.append(bot)
     for bot in bots:
         bot.open_start_url()
     for bot in bots:
         bot.open_start_url()
         self.assertEqual(bot.on_wait_page(), should_be_stuck)
Пример #2
0
 def start_some_players(self, should_be_stuck):
     bots = []
     for player in self.group1.get_players():
         bot = ParticipantBot(player.participant, load_player_bots=False)
         bots.append(bot)
     for bot in bots:
         bot.open_start_url()
     for bot in bots:
         bot.open_start_url()
         self.assertEqual(bot.on_wait_page(), should_be_stuck)