diff options
author | Matthew Lemon <matt@matthewlemon.com> | 2020-08-27 11:03:14 +0100 |
---|---|---|
committer | Matthew Lemon <matt@matthewlemon.com> | 2020-08-27 11:03:14 +0100 |
commit | ef287a9397cd911d55a37eb98934c203a59a8154 (patch) | |
tree | 1744debb6f44b6cd2623ec028c2035497a73946a /ctrack/caf/tests | |
parent | 36759e44bc59747256332809097342a32ab6db19 (diff) |
massive - removed migrations and reform db schema - NOT COMPLETE
Diffstat (limited to 'ctrack/caf/tests')
-rw-r--r-- | ctrack/caf/tests/factories.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ctrack/caf/tests/factories.py b/ctrack/caf/tests/factories.py index 3c62307..7aaf716 100644 --- a/ctrack/caf/tests/factories.py +++ b/ctrack/caf/tests/factories.py @@ -10,6 +10,7 @@ from ctrack.organisations.tests.factories import OrganisationFactory, PersonFact class CAFFactory(factory.DjangoModelFactory): quality_grading = factory.SubFactory("ctrack.caf.tests.factories.GradingFactory") confidence_grading = factory.SubFactory("ctrack.caf.tests.factories.GradingFactory") + organisation = factory.SubFactory("ctrack.organisations.tests.OrganisationFactory") file = None version = Faker("bothify", text="??##", letters="ABCD") triage_review_date = Faker("date_object") @@ -29,8 +30,6 @@ class ApplicableSystemFactory(factory.DjangoModelFactory): function = Faker( "paragraph", nb_sentences=4, variable_nb_sentences=True, ext_word_list=None ) - organisation = factory.SubFactory(OrganisationFactory) - caf = factory.SubFactory("ctrack.caf.tests.factories.CAFFactory") dft_categorisation = "CR" class Meta: |