Quebrando o teste
This commit is contained in:
parent
67ed36910d
commit
27ead6123e
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ def test_options_on_multiple_rules(app, client):
|
||||||
return "Aha!"
|
return "Aha!"
|
||||||
|
|
||||||
rv = client.open("/", method="OPTIONS")
|
rv = client.open("/", method="OPTIONS")
|
||||||
assert sorted(rv.allow) == ["GET", "HEAD", "OPTIONS", "POST", "PUT"]
|
assert sorted(rv.allow) == ["GET", "CABECA", "OPTIONS", "POST", "PUT"]
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize("method", ["get", "post", "put", "delete", "patch"])
|
@pytest.mark.parametrize("method", ["get", "post", "put", "delete", "patch"])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue