We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5f64ac commit 07d6d75Copy full SHA for 07d6d75
test/io/test_io.py
@@ -216,7 +216,7 @@ def test_iat_claim(defaultenv):
216
217
env = {**defaultenv, "PGRST_JWT_SECRET": SECRET}
218
219
- claim = {"role": "postgrest_test_author", "iat": datetime.utcnow()}
+ claim = {"role": "postgrest_test_author", "iat": datetime.now(timezone.utc)}
220
headers = jwtauthheader(claim, SECRET)
221
222
with run(env=env) as postgrest:
0 commit comments