mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-18 05:30:21 -04:00
first fuzz test
This commit is contained in:
@@ -153,9 +153,10 @@ def test_fuzz_upload_csv_batch_sms_handles_bad_and_good_input(rows, rows_data, c
|
||||
csv_content = output.getvalue()
|
||||
|
||||
response = client.post(
|
||||
url_for("send_batch_sms_upload"),
|
||||
data={"csv_file": (io.BytesIO(csv_content.encode("utf-8")), "batch.csv")},
|
||||
url_for("main.send_messages"),
|
||||
data={"upload": (io.BytesIO(csv_content.encode("utf-8")), "batch.csv")},
|
||||
content_type="multipart/form-data",
|
||||
follow_redirects=True,
|
||||
)
|
||||
|
||||
assert (
|
||||
|
||||
Reference in New Issue
Block a user