From 863b143f332a36f41dae7d59fe2f970d6d55812d Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Tue, 16 Sep 2025 11:26:51 -0700 Subject: [PATCH] first fuzz test --- tests/app/main/views/test_send.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/app/main/views/test_send.py b/tests/app/main/views/test_send.py index d86617e21..dd614033b 100644 --- a/tests/app/main/views/test_send.py +++ b/tests/app/main/views/test_send.py @@ -14,7 +14,7 @@ from zipfile import BadZipFile import pytest from flask import url_for -from hypothesis import given +from hypothesis import HealthCheck, given, settings from hypothesis import strategies as st from xlrd.biffh import XLRDError from xlrd.xldate import XLDateAmbiguous, XLDateError, XLDateNegative, XLDateTooLarge @@ -139,6 +139,7 @@ message_strategy = st.text( rows_strategy = st.integers(min_value=0, max_value=50) +@settings(suppress_health_check=[HealthCheck.function_scoped_fixture]) @given( rows=rows_strategy, rows_data=st.lists(st.tuples(phone_strategy, message_strategy), max_size=50),