Fix test about subject

Introduced in 5460876ff4
This commit is contained in:
David Larlet 2023-06-02 11:54:44 -04:00
parent bf4a84de99
commit 4ba1946868
No known key found for this signature in database
GPG key ID: 3E2953A359E7E7BD

View file

@ -596,4 +596,4 @@ def test_can_send_link_on_anonymous_map_with_cookie(cookieclient, anonymap):
resp = cookieclient.post(url, {"email": "foo@bar.org"}) resp = cookieclient.post(url, {"email": "foo@bar.org"})
assert resp.status_code == 200 assert resp.status_code == 200
assert len(mail.outbox) == 1 assert len(mail.outbox) == 1
assert mail.outbox[0].subject == "Your secret edit link" assert mail.outbox[0].subject == "The uMap edit link for your map: test map"