diff options
Diffstat (limited to 'ctrack/caf/tests/factories.py')
-rw-r--r-- | ctrack/caf/tests/factories.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ctrack/caf/tests/factories.py b/ctrack/caf/tests/factories.py index bc2431e..4c2d5b8 100644 --- a/ctrack/caf/tests/factories.py +++ b/ctrack/caf/tests/factories.py @@ -14,8 +14,9 @@ class CAFFactory(factory.DjangoModelFactory): version = Faker("bothify", text="??##", letters="ABCD") triage_review_date = Faker("date_object") triage_review_inspector = factory.SubFactory(PersonFactory) - comments = Faker("paragraph", nb_sentences=5, variable_nb_sentences=True, ext_word_list=None) - + comments = Faker( + "paragraph", nb_sentences=5, variable_nb_sentences=True, ext_word_list=None + ) class Meta: model = CAF @@ -25,7 +26,7 @@ class ApplicableSystemFactory(factory.DjangoModelFactory): """Factory for Essential Services.""" name = Faker("text", max_nb_chars=100, ext_word_list=None) - description = Faker( + function = Faker( "paragraph", nb_sentences=4, variable_nb_sentences=True, ext_word_list=None ) organisation = factory.SubFactory(OrganisationFactory) |