Skip to content

Commit

Permalink
Update test_end_to_end.py
Browse files Browse the repository at this point in the history
  • Loading branch information
markj0hnst0n committed Jun 28, 2024
1 parent fe7fea1 commit b1683ea
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions mail/tests/test_end_to_end.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,12 @@ def test_send_email_to_hmrc_e2e(self, mock_cache):
6\restrictions\Provisos may apply please see licence
7\line\1\\\\\Sporting shotgun\Q\\030\\10\\\\\\
8\line\2\\\\\Stock\Q\\111\\11.0\\\\\\
9\end\licence\8
10\fileTrailer\1"""
9\n11\\line\\3\\\\\\\\\\Metal\\Q\\\\025\\\\1.0\\\\\\\\\\\\
10\n12\\line\\4\\\\\\\\\\Chemical\\Q\\\\116\\\\20.0\\\\\\\\\\\\
11\n13\\line\\5\\\\\\\\\\Chemical\\Q\\\\110\\\\20.0\\\\\\\\\\\\
12\n14\\line\\6\\\\\\\\\\Chemical\\Q\\\\074\\\\20.0\\\\\\\\\\\\
139\end\licence\12
14\fileTrailer\1"""
assert body == expected_mail_body # nosec
encoded_reference_code = quote("GBSIEL/2020/0000001/P", safe="")
response = self.client.get(f"{reverse('mail:licence')}?id={encoded_reference_code}")
Expand Down

0 comments on commit b1683ea

Please sign in to comment.