This commit is contained in:
Kenneth Kehl
2025-09-15 12:30:50 -07:00
parent 19bb7c7f3a
commit 347644cbcf
+1 -2
View File
@@ -245,7 +245,7 @@ def test_fuzz_create_org_with_edge_cases(
@settings(max_examples=10) @settings(max_examples=10)
@given( @given(
name=st.one_of(st.none(), st.just(""), st.text(min_size=1, max_size=50)), name=st.one_of(st.none(), st.just(""), st.text(min_size=1, max_size=50)),
active=st.one_of(st.none(), st.booleans()), active=st.booleans(),
organization_type=st.one_of( organization_type=st.one_of(
st.none(), st.none(),
st.sampled_from(list(OrganizationType)), st.sampled_from(list(OrganizationType)),
@@ -277,7 +277,6 @@ def test_fuzz_create_org_with_edge_cases(
isinstance(name, str) isinstance(name, str)
and name.strip() != "" and name.strip() != ""
and isinstance(organization_type, OrganizationType) and isinstance(organization_type, OrganizationType)
and isinstance(active, bool)
} }
expected_status = 201 if is_valid else 400 expected_status = 201 if is_valid else 400
try: try: