Compare commits

...

2 Commits

Author SHA1 Message Date
Jonathan Bobel
95d0d60845 Commented out this test as well so it'll pass 2023-05-01 09:32:54 -04:00
Jonathan Bobel
26aeb442bb Commenting this out for now so it doesn't conflict with the gov-uk styles 2023-05-01 07:57:06 -04:00
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@
{%- for font in font_paths %}
<link rel="preload" href="{{ asset_url(font, with_querystring_hash=False) }}" as="font" type="font/woff2" crossorigin>
{%- endfor %}
<link rel="stylesheet" media="screen" href="{{ asset_url('css/styles.css') }}" />
<!-- <link rel="stylesheet" media="screen" href="{{ asset_url('css/styles.css') }}" /> -->
<link rel="stylesheet" media="screen" href="{{ asset_url('stylesheets/main.css') }}" />
<link rel="stylesheet" media="print" href="{{ asset_url('stylesheets/print.css') }}" />
{% block extra_stylesheets %}

View File

@@ -233,7 +233,7 @@ def test_css_is_served_from_correct_path(client_request):
page.select('link[rel=stylesheet]')
):
assert link['href'].startswith([
'https://static.example.com/css/styles.css?',
# 'https://static.example.com/css/styles.css?',
'https://static.example.com/stylesheets/main.css?',
'https://static.example.com/stylesheets/print.css?',
][index])