mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-18 05:29:38 -04:00
Merge pull request #408 from alphagov/host-email-image
Host image used in email template in app
This commit is contained in:
9
tests/app/test_assets.py
Normal file
9
tests/app/test_assets.py
Normal file
@@ -0,0 +1,9 @@
|
||||
import app
|
||||
|
||||
|
||||
def test_crown_logo(app_):
|
||||
with app_.test_request_context():
|
||||
# This image is used by the email templates, so we should be really careful to make
|
||||
# sure that its always there.
|
||||
response = app_.test_client().get('/static/images/email-template/crown-32px.gif')
|
||||
assert response.status_code == 200
|
||||
Reference in New Issue
Block a user