further postage progress

This commit is contained in:
stvnrlly
2023-02-10 21:29:52 -05:00
parent ff3f2c06c0
commit 4a0e555696
6 changed files with 71 additions and 245 deletions

View File

@@ -96,10 +96,8 @@ def test_valid_post_template_returns_200(
assert resp_json['id'] == str(template.id)
if tmp_type in {EMAIL_TYPE, LETTER_TYPE}:
assert expected_subject in resp_json['subject']
if tmp_type == EMAIL_TYPE:
assert expected_subject in resp_json['subject']
assert resp_json['html'] == expected_html
else:
assert resp_json['html'] is None