mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-20 15:31:15 -05:00
flask upgrade dependencies
This commit is contained in:
@@ -237,7 +237,7 @@ def test_update_template_folder_users(admin_request, sample_service):
|
||||
[
|
||||
({}, "name is a required property"),
|
||||
({"name": None}, "name None is not of type string"),
|
||||
({"name": ""}, "name is too short"),
|
||||
({"name": ""}, "name should be non-empty"),
|
||||
],
|
||||
)
|
||||
def test_update_template_folder_fails_if_missing_name(
|
||||
|
||||
@@ -89,7 +89,7 @@ def test_create_webauthn_credential_returns_201(admin_request, sample_user):
|
||||
"name None is not of type string",
|
||||
),
|
||||
# name is empty
|
||||
({"name": "", "credential_data": "ABC123"}, "name is too short"),
|
||||
({"name": "", "credential_data": "ABC123"}, "name should be non-empty"),
|
||||
],
|
||||
)
|
||||
def test_create_webauthn_credential_errors_if_schema_violation(
|
||||
@@ -131,7 +131,7 @@ def test_update_webauthn_credential_returns_200(admin_request, sample_user):
|
||||
# name is null
|
||||
({"name": None}, "name None is not of type string"),
|
||||
# name is empty
|
||||
({"name": ""}, "name is too short"),
|
||||
({"name": ""}, "name should be non-empty"),
|
||||
],
|
||||
)
|
||||
def test_update_webauthn_credential_errors_if_schema_violation(
|
||||
|
||||
Reference in New Issue
Block a user