aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/caf/tests
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2020-03-04 19:31:52 +0000
committerMatthew Lemon <matt@matthewlemon.com>2020-03-04 19:31:52 +0000
commit4c3a0d5808054456f5a90c13d8af62f334e7e031 (patch)
tree69c9222f64ca1112bd511637228d394d42f46ae2 /ctrack/caf/tests
parentec21e940b9bbfa235961be630dec8547f81396ce (diff)
renamed EssentialService to ApplicableSystem and a few other tweaks
Diffstat (limited to '')
-rw-r--r--ctrack/caf/tests/factories.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ctrack/caf/tests/factories.py b/ctrack/caf/tests/factories.py
index 2e5bd36..31e2403 100644
--- a/ctrack/caf/tests/factories.py
+++ b/ctrack/caf/tests/factories.py
@@ -3,7 +3,7 @@ import random
import factory
from factory import Faker
-from ctrack.caf.models import EssentialService, Grading, DocumentFile, FileStore, CAF
+from ctrack.caf.models import ApplicableSystem, Grading, DocumentFile, FileStore, CAF
from ctrack.organisations.tests.factories import OrganisationFactory, PersonFactory
@@ -12,7 +12,7 @@ class CAFFactory(factory.DjangoModelFactory):
quality_grading = factory.SubFactory("ctrack.caf.tests.factories.GradingFactory")
confidence_grading = factory.SubFactory("ctrack.caf.tests.factories.GradingFactory")
file = None
- version = Faker("bothify", text="??##", letters="ABCD")
+ 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)
@@ -33,7 +33,7 @@ class EssentialServiceFactory(factory.DjangoModelFactory):
caf = factory.SubFactory("ctrack.caf.tests.factories.CAFFactory")
class Meta:
- model = EssentialService
+ model = ApplicableSystem
class GradingFactory(factory.DjangoModelFactory):