mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-22 16:31:15 -05:00
updated test to use random string not numeric id formats
This commit is contained in:
@@ -1045,8 +1045,8 @@ def test_dvla_letter_template(sample_letter_notification):
|
|||||||
"subject": sample_letter_notification.template.subject}
|
"subject": sample_letter_notification.template.subject}
|
||||||
letter = LetterDVLATemplate(t,
|
letter = LetterDVLATemplate(t,
|
||||||
sample_letter_notification.personalisation,
|
sample_letter_notification.personalisation,
|
||||||
12345)
|
"random-string")
|
||||||
assert str(letter) == "140|500|001||201703230012345|||||||||||||A1||A2|A3|A4|A5|A6|A_POST|||||||||23 March 2017<cr><cr><h1>Template subject<normal><cr><cr>Dear Sir/Madam, Hello. Yours Truly, The Government.<cr><cr>" # noqa
|
assert str(letter) == "140|500|001||random-string|||||||||||||A1||A2|A3|A4|A5|A6|A_POST|||||||||23 March 2017<cr><cr><h1>Template subject<normal><cr><cr>Dear Sir/Madam, Hello. Yours Truly, The Government.<cr><cr>" # noqa
|
||||||
|
|
||||||
|
|
||||||
def test_update_job_to_sent_to_dvla(sample_letter_template, sample_letter_job):
|
def test_update_job_to_sent_to_dvla(sample_letter_template, sample_letter_job):
|
||||||
|
|||||||
Reference in New Issue
Block a user