diff options
author | Matthew Lemon <matt@matthewlemon.com> | 2020-08-13 11:49:04 +0100 |
---|---|---|
committer | Matthew Lemon <matt@matthewlemon.com> | 2020-08-13 11:49:04 +0100 |
commit | 5a955f9796c199338eb3182f1918c4708593a1be (patch) | |
tree | ff58dbbf9a68cb6bfef04f11386df088e558f5e9 /ctrack/caf/tests/factories.py | |
parent | bd7ffed3034f66c16845063667f3bea7cc0a9e9a (diff) |
changed description field to funciton in ApplicableSystem
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) |