@@ -80,10 +80,10 @@ def test_standard_1v1(self):
8080 self .assertEqual (boom .result , "Loss" )
8181
8282 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 "
8484 )
8585 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 "
8787 )
8888
8989 self .assertEqual (len (replay .messages ), 12 )
@@ -163,10 +163,10 @@ def test_us_realm(self):
163163 reddawn = [player for player in replay .players if player .name == "reddawn" ][0 ]
164164 self .assertEqual (
165165 shadesofgray .url ,
166- "http ://us.battle.net/sc2/en /profile/2358439 /1/ShadesofGray/ " ,
166+ "https ://starcraft2.com/en-us /profile/1 /1/2358439 " ,
167167 )
168168 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 "
170170 )
171171
172172 def test_kr_realm_and_tampered_messages (self ):
@@ -179,10 +179,10 @@ def test_kr_realm_and_tampered_messages(self):
179179 first = [player for player in replay .players if player .name == "명지대학교" ][0 ]
180180 second = [player for player in replay .players if player .name == "티에스엘사기수" ][0 ]
181181 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 "
183183 )
184184 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 "
186186 )
187187 self .assertEqual (replay .messages [0 ].text , "sc2.replays.net" )
188188 self .assertEqual (replay .messages [5 ].text , "sc2.replays.net" )
0 commit comments