mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
Right now the crown logo in email templates is hosted on Github. Github is not a CDN. For now, hosting it in the app is a better solution. At some point we should have a CDN for all assets on the app, which would be even better. https://www.pivotaltracker.com/story/show/116952911
10 lines
339 B
Python
10 lines
339 B
Python
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
|