@@ -80,10 +80,10 @@ def test_standard_1v1(self):
80
80
self .assertEqual (boom .result , "Loss" )
81
81
82
82
self .assertEqual (
83
- emperor .url , "http ://eu.battle.net/sc2/en /profile/520049 /1/Emperor/ "
83
+ emperor .url , "https ://starcraft2.com/en-us /profile/2 /1/520049 "
84
84
)
85
85
self .assertEqual (
86
- boom .url , "http ://eu.battle.net/sc2/en /profile/1694745 /1/Boom/ "
86
+ boom .url , "https ://starcraft2.com/en-us /profile/2 /1/1694745 "
87
87
)
88
88
89
89
self .assertEqual (len (replay .messages ), 12 )
@@ -163,10 +163,10 @@ def test_us_realm(self):
163
163
reddawn = [player for player in replay .players if player .name == "reddawn" ][0 ]
164
164
self .assertEqual (
165
165
shadesofgray .url ,
166
- "http ://us.battle.net/sc2/en /profile/2358439 /1/ShadesofGray/ " ,
166
+ "https ://starcraft2.com/en-us /profile/1 /1/2358439 " ,
167
167
)
168
168
self .assertEqual (
169
- reddawn .url , "http ://us.battle.net/sc2/en /profile/2198663 /1/reddawn/ "
169
+ reddawn .url , "https ://starcraft2.com/en-us /profile/1 /1/2198663 "
170
170
)
171
171
172
172
def test_kr_realm_and_tampered_messages (self ):
@@ -179,10 +179,10 @@ def test_kr_realm_and_tampered_messages(self):
179
179
first = [player for player in replay .players if player .name == "명지대학교" ][0 ]
180
180
second = [player for player in replay .players if player .name == "티에스엘사기수" ][0 ]
181
181
self .assertEqual (
182
- first .url , "http ://kr.battle.net/sc2/en /profile/258945 /1/명지대학교/ "
182
+ first .url , "https ://starcraft2.com/en-us /profile/3 /1/258945 "
183
183
)
184
184
self .assertEqual (
185
- second .url , "http ://kr.battle.net/sc2/en /profile/102472 /1/티에스엘사기수/ "
185
+ second .url , "https ://starcraft2.com/en-us /profile/3 /1/102472 "
186
186
)
187
187
self .assertEqual (replay .messages [0 ].text , "sc2.replays.net" )
188
188
self .assertEqual (replay .messages [5 ].text , "sc2.replays.net" )
0 commit comments