mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 02:11:11 -05:00
Almost all tests are working. Only 3 left to fix.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
This commit is contained in:
@@ -247,7 +247,7 @@ def test_create_email_branding_reject_invalid_brand_type(admin_request):
|
||||
|
||||
assert (
|
||||
response["errors"][0]["message"]
|
||||
== "brand_type NOT A TYPE is not one of [org, both, org_banner]"
|
||||
== f"brand_type NOT A TYPE is not one of [{', '.join([f'<{type(e).__name__}.{e.name}: {e.value}>'for e in BrandType])}]"
|
||||
)
|
||||
|
||||
|
||||
@@ -265,5 +265,5 @@ def test_update_email_branding_reject_invalid_brand_type(
|
||||
|
||||
assert (
|
||||
response["errors"][0]["message"]
|
||||
== "brand_type NOT A TYPE is not one of [org, both, org_banner]"
|
||||
== f"brand_type NOT A TYPE is not one of [{', '.join([f'<{type(e).__name__}.{e.name}: {e.value}>'for e in BrandType])}]"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user