Almost all tests are working. Only 3 left to fix.

Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
This commit is contained in:
Cliff Hill
2024-02-26 20:07:23 -05:00
parent b5dac890a2
commit 75cec3a635
11 changed files with 30 additions and 26 deletions

View File

@@ -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])}]"
)