run pyupgrade
This commit is contained in:
parent
bf2514cb09
commit
04bd6b3ef0
29 changed files with 173 additions and 221 deletions
|
|
@ -79,7 +79,7 @@ def test_user_db():
|
|||
{
|
||||
"userid": "testuser",
|
||||
"token": "token_1234",
|
||||
"expiration": "{}".format(datetime.now() + timedelta(seconds=-10)),
|
||||
"expiration": f"{datetime.now() + timedelta(seconds=-10)}",
|
||||
}
|
||||
) # Add expired token
|
||||
db.close()
|
||||
|
|
@ -93,7 +93,7 @@ def test_user_db():
|
|||
{
|
||||
"userid": "testuser",
|
||||
"token": "token_1234",
|
||||
"expiration": "{}".format(datetime.now() + timedelta(seconds=-10)),
|
||||
"expiration": f"{datetime.now() + timedelta(seconds=-10)}",
|
||||
}
|
||||
) # Add expired token
|
||||
db.close()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue