Skip to content

Commit 5c71b88

Browse files
committed
new test for a footmen replay
1 parent 7fe710e commit 5c71b88

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
403 KB
Binary file not shown.

test_replays/test_all.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,13 +142,19 @@ def test_us_realm():
142142
assert replay.player['reddawn'].url == "http://us.battle.net/sc2/en/profile/2198663/1/reddawn/"
143143

144144
# TODO: Current problem.. both players are set as the recording players
145+
# Waiting for response https://github.com/arkx/mpyq/issues/closed#issue/7
145146
def test_kr_realm_and_tampered_messages():
146147
replay = Replay("test_replays/build17811/11.SC2Replay")
147148
assert replay.player['명지대학교'].url == "http://kr.battle.net/sc2/en/profile/258945/1/명지대학교/"
148149
assert replay.player['티에스엘사기수'].url == "http://kr.battle.net/sc2/en/profile/102472/1/티에스엘사기수/"
149150

150151
assert replay.messages[0].text == "sc2.replays.net"
151152
assert replay.messages[5].text == "sc2.replays.net"
153+
154+
# TODO: This currently fails for unknown reasons
155+
# It errors: "TypeError: Unknown event: 0x2 - 0xe at 4240"
156+
def test_footmen():
157+
replay = Replay("test_replays/build17811/12.SC2Replay")
152158

153159
def test_encrypted():
154160
replay = Replay("test_replays/build17811/4.SC2Replay")

0 commit comments

Comments
 (0)