@@ -207,9 +207,7 @@ def test_plain_body(self):
207207
208208 def test_gzip_body (self ):
209209 sig = _sign (JSON_BODY )
210- assert (
211- verify_and_parse_webhook (_gzip (JSON_BODY ), sig , API_SECRET ) == EVENT_DICT
212- )
210+ assert verify_and_parse_webhook (_gzip (JSON_BODY ), sig , API_SECRET ) == EVENT_DICT
213211
214212 def test_returns_dict (self ):
215213 sig = _sign (JSON_BODY )
@@ -296,9 +294,7 @@ def test_rejects_signature_over_envelope(self):
296294class TestSyncClientMethods :
297295 def test_verify_and_parse_webhook (self , sync_client : StreamChat ):
298296 sig = _sign (JSON_BODY )
299- assert (
300- sync_client .verify_and_parse_webhook (_gzip (JSON_BODY ), sig ) == EVENT_DICT
301- )
297+ assert sync_client .verify_and_parse_webhook (_gzip (JSON_BODY ), sig ) == EVENT_DICT
302298
303299 def test_verify_and_parse_sqs (self , sync_client : StreamChat ):
304300 wrapped = _b64 (_gzip (JSON_BODY ))
@@ -329,9 +325,7 @@ class TestAsyncClientMethods:
329325 async def test_verify_and_parse_webhook (self ):
330326 sig = _sign (JSON_BODY )
331327 async with StreamChatAsync (api_key = API_KEY , api_secret = API_SECRET ) as client :
332- assert (
333- client .verify_and_parse_webhook (_gzip (JSON_BODY ), sig ) == EVENT_DICT
334- )
328+ assert client .verify_and_parse_webhook (_gzip (JSON_BODY ), sig ) == EVENT_DICT
335329
336330 async def test_verify_and_parse_sqs (self ):
337331 wrapped = _b64 (_gzip (JSON_BODY ))
0 commit comments