File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,13 +14,12 @@ def file_path() -> Path:
1414
1515def _assert_local_response (local_response ):
1616 fake_hmac_signing = "ogNjY44MhvKPGTtVsI8zG82JqWQa68woYQH"
17- signature = "1df388c992d87897fe61dfc56c444c58fc3c7369c31e2b5fd20d867695e93e85 "
17+ signature = "f390d9f7f57ac04f47b6309d8a40236b0182610804fc20e91b1f6028aaca07a7 "
1818
1919 assert local_response ._file is not None
2020 assert not local_response .is_valid_hmac_signature (
2121 fake_hmac_signing , "invalid signature"
2222 )
23- print (local_response .get_hmac_signature (fake_hmac_signing ))
2423 assert signature == local_response .get_hmac_signature (fake_hmac_signing )
2524 assert local_response .is_valid_hmac_signature (fake_hmac_signing , signature )
2625 reponse : InferenceResponse = local_response .deserialize_response (InferenceResponse )
You can’t perform that action at this time.
0 commit comments