Merge pull request #893 from alphagov/dont-output-to_name_2

Build DVLA file with blank `TO_NAME_2` field
This commit is contained in:
Chris Hill-Scott
2017-04-06 16:54:02 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -1035,4 +1035,4 @@ def test_dvla_letter_template(sample_letter_notification):
letter = LetterDVLATemplate(t,
sample_letter_notification.personalisation,
12345)
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||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