aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/caf/tests
diff options
context:
space:
mode:
Diffstat (limited to 'ctrack/caf/tests')
-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):