File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -145,11 +145,15 @@ def test_us_realm():
145145 assert replay .player ['ShadesofGray' ].url == "http://us.battle.net/sc2/en/profile/2358439/1/ShadesofGray/"
146146 assert replay .player ['reddawn' ].url == "http://us.battle.net/sc2/en/profile/2198663/1/reddawn/"
147147
148- def test_kr_realm ():
148+ # We can be really proud: phpsc2replay fails with the messages!
149+ def test_kr_realm_and_tampered_messages ():
149150 replay = Replay ("test_replays/build17811/11.sc2replay" )
150151 assert replay .player ['명지대학교' ].url == "http://kr.battle.net/sc2/en/profile/258945/1/명지대학교/"
151152 assert replay .player ['티에스엘사기수' ].url == "http://kr.battle.net/sc2/en/profile/102472/1/티에스엘사기수/"
152153
154+ assert replay .messages [0 ].text == "sc2.replays.net"
155+ assert replay .messages [5 ].text == "sc2.replays.net"
156+
153157def test_encrypted ():
154158 replay = Replay ("test_replays/build17811/4.sc2replay" )
155159
You can’t perform that action at this time.
0 commit comments