mirror of
https://github.com/simple-login/app.git
synced 2025-02-23 15:23:27 +08:00
Fix typo.
This commit is contained in:
parent
172e509f53
commit
e6276dc32e
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ def test_create_delete_api_key(flask_client):
|
||||||
assert ApiKey.count() == 1
|
assert ApiKey.count() == 1
|
||||||
assert api_key.name == "for test"
|
assert api_key.name == "for test"
|
||||||
|
|
||||||
# delete api key
|
# delete api_key
|
||||||
delete_r = flask_client.post(
|
delete_r = flask_client.post(
|
||||||
url_for("dashboard.api_key"),
|
url_for("dashboard.api_key"),
|
||||||
data={"form-name": "delete", "api-key-id": api_key.id},
|
data={"form-name": "delete", "api-key-id": api_key.id},
|
||||||
|
|
Loading…
Reference in a new issue