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

@@ -29,6 +29,6 @@ notifications-python-client>=3.1,<3.2
awscli>=1.11,<1.12 awscli>=1.11,<1.12
awscli-cwlogs>=1.4,<1.5 awscli-cwlogs>=1.4,<1.5
git+https://github.com/alphagov/notifications-utils.git@15.0.0#egg=notifications-utils==15.0.0 git+https://github.com/alphagov/notifications-utils.git@15.0.2#egg=notifications-utils==15.0.2
git+https://github.com/alphagov/boto.git@2.43.0-patch3#egg=boto==2.43.0-patch3 git+https://github.com/alphagov/boto.git@2.43.0-patch3#egg=boto==2.43.0-patch3

View File

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