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