Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesbiggs committed Dec 23, 2024
1 parent be5d1c3 commit 1dc5499
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions etna/records/tests/test_blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from wagtail.test.utils.form_data import nested_form_data, rich_text, streamfield

import responses
from datetime import datetime, timezone

from etna.articles.models import ArticleIndexPage, ArticlePage
from etna.ciim.tests.factories import create_record, create_response
Expand All @@ -21,6 +22,8 @@

BLOCK_TITLE_OVERRIDE = "This record is sooooo featured!"

DATE_1 = datetime(2000, 1, 1, tzinfo=timezone.utc)


class TestFeaturedRecordBlockIntegration(WagtailPageTestCase):
def setUp(self):
Expand Down Expand Up @@ -64,6 +67,7 @@ def test_add_record_links(self):
"intro": rich_text("test"),
"hero_image": test_image.id,
"teaser_text": "test",
"published_date": DATE_1,
"body": streamfield(
[
(
Expand Down

0 comments on commit 1dc5499

Please sign in to comment.