@@ -17,19 +17,26 @@ async def test_get_user_locations(self, client: StreamChatAsync, random_user: Di
1717 "longitude" : - 122.4194 ,
1818 }
1919
20- channel .send_message ({"text" : "Message with location" , "shared_location" : shared_location }, random_user ["id" ])
20+ channel .send_message (
21+ {"text" : "Message with location" , "shared_location" : shared_location },
22+ random_user ["id" ],
23+ )
2124
2225 # Get user locations
2326 response = await client .get_user_locations (random_user ["id" ])
2427
2528 assert "active_live_locations" in response
2629 assert isinstance (response ["active_live_locations" ], list )
2730
28- async def test_update_user_location (self , client : StreamChatAsync , random_user : Dict ):
31+ async def test_update_user_location (
32+ self , client : StreamChatAsync , random_user : Dict
33+ ):
2934 # First create a message to attach location to
3035 channel = client .channel ("messaging" , str (random_user ["id" ]))
3136 await channel .create (random_user ["id" ])
32- msg = await channel .send_message ({"text" : "Message with location" }, random_user ["id" ])
37+ msg = await channel .send_message (
38+ {"text" : "Message with location" }, random_user ["id" ]
39+ )
3340 message_id = msg ["message" ]["id" ]
3441
3542 # Update user location
@@ -55,4 +62,4 @@ async def test_update_user_location(self, client: StreamChatAsync, random_user:
5562 try :
5663 await channel .delete ()
5764 except Exception :
58- pass
65+ pass
0 commit comments