Skip to content

Commit e5d11b8

Browse files
committed
new test that fails due to HotS AI, Attribute initialization KeyError
1 parent 22606c9 commit e5d11b8

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed
22.2 KB
Binary file not shown.
26.6 KB
Binary file not shown.

test_replays/test_all.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,3 +209,7 @@ def test_hots_hatchfun():
209209
spawner_pids = set( [ event.player.pid for event in replay.events if 'TargetAbilityEvent' in event.name and event.ability.name == 'SpawnLarva' ] )
210210
print "player_pids = {player_pids}, spawner_pids = {spawner_pids}".format(player_pids=player_pids, spawner_pids=spawner_pids)
211211
assert spawner_pids.issubset(player_pids)
212+
213+
def test_hots_vs_ai():
214+
replay = sc2reader.load_replay("test_replays/2.0.0.24247/Cloud Kingdom LE (13).SC2Replay")
215+
replay = sc2reader.load_replay("test_replays/2.0.0.24247/Korhal City (19).SC2Replay")

0 commit comments

Comments
 (0)