Skip to content

Commit e4240d9

Browse files
committed
add failing replay. no idea whats wrong
1 parent 15c06f9 commit e4240d9

File tree

2 files changed

+4
-0
lines changed

2 files changed

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

test_replays/test_all.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,10 @@ def test_funny_minerals(self):
477477
mineralFieldNames = list(set([ou.attributes['UnitType'].value for ou in itemlist if 'MineralField' in ou.attributes['UnitType'].value]))
478478
#print mineralFieldNames
479479
self.assertTrue(len(mineralPosStrs) > 0)
480+
481+
def test_dusk(self):
482+
replay = sc2reader.load_replay("test_replays/3.1.0/dusktowers.SC2Replay")
483+
self.assertEqual(replay.expansion, 'LotV')
480484

481485

482486
class TestGameEngine(unittest.TestCase):

0 commit comments

Comments
 (0)