From dd1c0faafbcc26639d806f0f50cf8d91cff9e324 Mon Sep 17 00:00:00 2001 From: zerolab Date: Tue, 12 Nov 2024 19:17:40 +0000 Subject: [PATCH] fixup! Misc tidy ups based on code review --- cms/analysis/tests/factories.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cms/analysis/tests/factories.py b/cms/analysis/tests/factories.py index 631a45b..c82fbf5 100644 --- a/cms/analysis/tests/factories.py +++ b/cms/analysis/tests/factories.py @@ -58,7 +58,7 @@ class Meta: summary = factory.Faker("text", max_nb_chars=100) news_headline = factory.Faker("text", max_nb_chars=50) - main_points = factory.Faker("text", max_nb_chars=200) + main_points_summary = factory.Faker("text", max_nb_chars=200) release_date = factory.LazyFunction(lambda: timezone.now().date()) next_release_date = factory.LazyAttribute(lambda o: o.release_date + timedelta(days=1)) contact_details = factory.SubFactory(ContactDetailsFactory)