Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ash-Crow committed Nov 5, 2024
1 parent 2753ef3 commit 27401b3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion content_manager/tests/test_blocks.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from django.contrib.auth.models import User
from django.test import override_settings
from wagtail.models import Page
from wagtail.rich_text import RichText
from wagtail.test.utils import WagtailPageTestCase
Expand Down Expand Up @@ -322,7 +323,8 @@ def test_tile_with_image_has_div(self):

self.assertContains(response, "fr-tile__header")

def test_tile_manages_svg_image(self):
@override_settings(SF_SCHEME_DEPENDENT_SVGS=True)
def test_tile_manages_svg_image_if_setting_allows(self):
image_file = "static/artwork/technical-error.svg"
image = import_image(image_file, "Sample image")

Expand Down

0 comments on commit 27401b3

Please sign in to comment.