easydata-api 1.0.1__tar.gz → 1.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {easydata_api-1.0.1 → easydata_api-1.0.2}/PKG-INFO +1 -1
- {easydata_api-1.0.1 → easydata_api-1.0.2}/easydata_api/__init__.py +1 -1
- {easydata_api-1.0.1 → easydata_api-1.0.2}/easydata_api.egg-info/PKG-INFO +1 -1
- {easydata_api-1.0.1 → easydata_api-1.0.2}/pyproject.toml +1 -1
- {easydata_api-1.0.1 → easydata_api-1.0.2}/tests/test_client.py +3 -3
- {easydata_api-1.0.1 → easydata_api-1.0.2}/LICENSE +0 -0
- {easydata_api-1.0.1 → easydata_api-1.0.2}/README.md +0 -0
- {easydata_api-1.0.1 → easydata_api-1.0.2}/easydata_api/client.py +0 -0
- {easydata_api-1.0.1 → easydata_api-1.0.2}/easydata_api/errors.py +0 -0
- {easydata_api-1.0.1 → easydata_api-1.0.2}/easydata_api/webhooks.py +0 -0
- {easydata_api-1.0.1 → easydata_api-1.0.2}/easydata_api.egg-info/SOURCES.txt +0 -0
- {easydata_api-1.0.1 → easydata_api-1.0.2}/easydata_api.egg-info/dependency_links.txt +0 -0
- {easydata_api-1.0.1 → easydata_api-1.0.2}/easydata_api.egg-info/requires.txt +0 -0
- {easydata_api-1.0.1 → easydata_api-1.0.2}/easydata_api.egg-info/top_level.txt +0 -0
- {easydata_api-1.0.1 → easydata_api-1.0.2}/setup.cfg +0 -0
|
@@ -310,7 +310,7 @@ class TestWebhookVerification(unittest.TestCase):
|
|
|
310
310
|
self.assertEqual(d.data["result"]["status"], "succeeded")
|
|
311
311
|
|
|
312
312
|
def test_the_go_signers_own_output_verifies(self):
|
|
313
|
-
"""A vector produced by
|
|
313
|
+
"""A vector produced by the server's own webhook signer.
|
|
314
314
|
|
|
315
315
|
Every other test here signs with this file's own HMAC, which would keep
|
|
316
316
|
passing if both sides were wrong in the same way. This one is the output
|
|
@@ -318,8 +318,8 @@ class TestWebhookVerification(unittest.TestCase):
|
|
|
318
318
|
change to either implementation that breaks the other fails here rather
|
|
319
319
|
than in a customer's receiver.
|
|
320
320
|
|
|
321
|
-
Regenerate
|
|
322
|
-
|
|
321
|
+
Regenerate from the server's signing function with the secret
|
|
322
|
+
"whsec_cross_check" and the unix timestamp 1789000000.
|
|
323
323
|
"""
|
|
324
324
|
body = (
|
|
325
325
|
b'{"id":"d-1","event":"batch.result","createdAt":"2026-09-01T10:00:00Z",'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|