Skip to content

Commit 82fff8c

Browse files
committed
add test for 3.4.0. it passed before we did anything for it, and it still passes.
1 parent cf67e1d commit 82fff8c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

test_replays/3.4.0/issueYY.SC2Replay

94.1 KB
Binary file not shown.

test_replays/test_all.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,10 @@ def efilter(e):
507507
return hasattr(e, "ability") and e.ability_name == "SpawnLarva"
508508
self.assertEqual(len(filter(efilter, replay.events)), 23)
509509

510+
def test_34(self):
511+
replay = sc2reader.load_replay("test_replays/3.4.0/issueYY.SC2Replay")
512+
self.assertEqual(replay.expansion, 'LotV')
513+
510514
def test_lotv_time(self):
511515
replay = sc2reader.load_replay("test_replays/lotv/lotv1.SC2Replay")
512516
self.assertEqual(replay.length.seconds, 1002)

0 commit comments

Comments
 (0)