diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-09-03 17:25:30 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-09-03 17:25:30 +0100 |
commit | 959c001905fffc4840e8f795170d724474bc1997 (patch) | |
tree | b9fec38599e7afbe0dfd832d397b68cf4082c1be /ctrack/register | |
parent | 0d0066bdc03fcafa660db7b002ec2bb5846dc4fd (diff) |
factory boy to 3.0.1
Diffstat (limited to 'ctrack/register')
-rw-r--r-- | ctrack/register/tests/factories.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ctrack/register/tests/factories.py b/ctrack/register/tests/factories.py index c93bdda..4334f3d 100644 --- a/ctrack/register/tests/factories.py +++ b/ctrack/register/tests/factories.py @@ -36,7 +36,7 @@ def _regulation_scrambler(): ) -class EngagementTypeFactory(factory.DjangoModelFactory): +class EngagementTypeFactory(factory.django.DjangoModelFactory): class Meta: model = EngagementType @@ -45,7 +45,7 @@ class EngagementTypeFactory(factory.DjangoModelFactory): regulation_reference = factory.LazyFunction(_regulation_scrambler) -class EngagementEventFactory(factory.DjangoModelFactory): +class EngagementEventFactory(factory.django.DjangoModelFactory): class Meta: model = EngagementEvent |