

def test_too_many_enemy_teams(self):
    test_layout3 = ' ##################\n            #0#.  .  # .     #\n            #1#####    #####2#\n            #     . #  .  .#3#\n            ################## '
    universe = CTFUniverse.create(test_layout3, 4)
    universe.teams.append(Team(2, 'noname', ()))
    self.assertRaises(UniverseException, universe.enemy_team, 0)

dataset/ETHPy150Open ASPP/pelita/test/test_datamodel.py TestCTFUniverse.test_too_many_enemy_teams/original