mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-02 17:48:36 -04:00
Extra test on personilisation block
This commit is contained in:
@@ -1032,6 +1032,7 @@ def test_create_dvla_file_contents(sample_letter_template, mocker):
|
|||||||
|
|
||||||
# Personalisation
|
# Personalisation
|
||||||
assert not calls[0][0][1]
|
assert not calls[0][0][1]
|
||||||
|
assert not calls[1][0][1]
|
||||||
|
|
||||||
# Named arguments
|
# Named arguments
|
||||||
assert calls[1][1]['contact_block'] == 'London,\nSW1A 1AA'
|
assert calls[1][1]['contact_block'] == 'London,\nSW1A 1AA'
|
||||||
|
|||||||
Reference in New Issue
Block a user