From 3ee16ecdbec4686271fd72126bcbc04ce17a621e Mon Sep 17 00:00:00 2001 From: Katie Smith Date: Thu, 4 Feb 2021 15:21:29 +0000 Subject: [PATCH] Adjust test instruction --- tests/app/main/views/test_index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/app/main/views/test_index.py b/tests/app/main/views/test_index.py index 3615b1c65..c4b0dcc5d 100644 --- a/tests/app/main/views/test_index.py +++ b/tests/app/main/views/test_index.py @@ -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/')