Formatting fix
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
|
||||
def test_csrf_error(app, client):
|
||||
app.config.update({"WTF_CSRF_ENABLED": True})
|
||||
|
||||
response = client.post(
|
||||
"/requests/new/1",
|
||||
headers={ "Content-Type": "application/x-www-form-urlencoded" },
|
||||
headers={"Content-Type": "application/x-www-form-urlencoded"},
|
||||
data="csrf_token=invalid_token",
|
||||
follow_redirects=True,
|
||||
)
|
||||
|
Reference in New Issue
Block a user