diff options
Diffstat (limited to 'ctrack/organisations/tests/factories.py')
-rw-r--r-- | ctrack/organisations/tests/factories.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctrack/organisations/tests/factories.py b/ctrack/organisations/tests/factories.py index fd8ad88..38e6079 100644 --- a/ctrack/organisations/tests/factories.py +++ b/ctrack/organisations/tests/factories.py @@ -81,7 +81,7 @@ class PersonFactory(DjangoModelFactory): if extracted: self.role.add(extracted) - primary_nis_contact = True + primary_nis_contact = factory.LazyFunction(lambda : random.choice([True, False])) voluntary_point_of_contact = True has_egress = False title = factory.LazyFunction(lambda: random.randint(1, 8)) |