mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-11 02:23:32 -04:00
ugh
This commit is contained in:
@@ -296,7 +296,9 @@ def test_fuzz_create_org_with_edge_cases(admin_request, notify_db_session):
|
|||||||
_data=data,
|
_data=data,
|
||||||
_expected_status=expected_status,
|
_expected_status=expected_status,
|
||||||
)
|
)
|
||||||
if is_valid:
|
if response.get("message"):
|
||||||
|
assert response["message"] == "Organization name already exists"
|
||||||
|
elif is_valid:
|
||||||
assert response.status_code == 201
|
assert response.status_code == 201
|
||||||
assert len(_get_organizations()) == initial_count + 1
|
assert len(_get_organizations()) == initial_count + 1
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user