@@ -88,7 +88,7 @@ def test_basic_chat_operations(self):
8888
8989 auth = client .auth_test ()
9090 self .assertIsNotNone (auth )
91- subdomain = auth ["team " ]
91+ url = auth ["url " ]
9292
9393 channel = self .channel_id
9494 message = (
@@ -105,7 +105,7 @@ def test_basic_chat_operations(self):
105105 self .assertIsNotNone (permalink )
106106 self .assertRegex (
107107 permalink ["permalink" ],
108- f"https:// { subdomain } .slack.com/ archives/{ channel } /.+" ,
108+ f"{ url } archives/{ channel } /.+" ,
109109 )
110110
111111 new_reaction = client .reactions_add (channel = channel , timestamp = ts , name = "eyes" )
@@ -140,7 +140,7 @@ async def test_basic_chat_operations_async(self):
140140
141141 auth = await client .auth_test ()
142142 self .assertIsNotNone (auth )
143- subdomain = auth ["team " ]
143+ url = auth ["url " ]
144144
145145 channel = self .channel_id
146146 message = (
@@ -157,7 +157,7 @@ async def test_basic_chat_operations_async(self):
157157 self .assertIsNotNone (permalink )
158158 self .assertRegex (
159159 permalink ["permalink" ],
160- f"https:// { subdomain } .slack.com/ archives/{ channel } /.+" ,
160+ f"{ url } archives/{ channel } /.+" ,
161161 )
162162
163163 new_reaction = await client .reactions_add (
0 commit comments