mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-10 11:24:10 -04:00
Adjust test instruction
This commit is contained in:
@@ -342,7 +342,7 @@ def test_font_preload(
|
||||
|
||||
preload_tags = page.select('link[rel=preload][as=font][type="font/woff2"][crossorigin]')
|
||||
|
||||
assert len(preload_tags) == 4, 'Run `npm build` to copy fonts into app/static/fonts/'
|
||||
assert len(preload_tags) == 4, 'Run `npm run build` to copy fonts into app/static/fonts/'
|
||||
|
||||
for element in preload_tags:
|
||||
assert element['href'].startswith('https://static.example.com/fonts/')
|
||||
|
||||
Reference in New Issue
Block a user