fix test
This commit is contained in:
parent
611fb8a20c
commit
bb5259ac3f
|
@ -50,7 +50,7 @@ def test_custom_mode(flask_client):
|
||||||
|
|
||||||
# without note
|
# without note
|
||||||
r = flask_client.post(
|
r = flask_client.post(
|
||||||
url_for("api.new_random_alias", hostname="www.test.com", mode="uuid"),
|
url_for("api.new_random_alias", mode="uuid"),
|
||||||
)
|
)
|
||||||
|
|
||||||
assert r.status_code == 201
|
assert r.status_code == 201
|
||||||
|
@ -61,7 +61,7 @@ def test_custom_mode(flask_client):
|
||||||
|
|
||||||
# with note
|
# with note
|
||||||
r = flask_client.post(
|
r = flask_client.post(
|
||||||
url_for("api.new_random_alias", hostname="www.test.com", mode="uuid"),
|
url_for("api.new_random_alias", mode="uuid"),
|
||||||
json={"note": "test note"},
|
json={"note": "test note"},
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue