diff options
author | Matthew Lemon <matt@matthewlemon.com> | 2020-03-11 17:01:22 +0000 |
---|---|---|
committer | Matthew Lemon <matt@matthewlemon.com> | 2020-03-11 17:01:22 +0000 |
commit | f684f8e8b70dc26a359939dff99dce7661e496fb (patch) | |
tree | 16105b16df5d5f1e43ec84230b18a883ac1a810b /ctrack/organisations/tests | |
parent | 0542bef93182976faa63815c299254a16fab76c2 (diff) |
added oes designator to org
Diffstat (limited to 'ctrack/organisations/tests')
-rw-r--r-- | ctrack/organisations/tests/factories.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ctrack/organisations/tests/factories.py b/ctrack/organisations/tests/factories.py index 38e6079..3550f6e 100644 --- a/ctrack/organisations/tests/factories.py +++ b/ctrack/organisations/tests/factories.py @@ -47,6 +47,7 @@ class OrganisationFactory(DjangoModelFactory): name = Faker("company") slug = Faker("lexify", text="????", letters="abcdsg") designation_type = 1 + oes = factory.LazyFunction(lambda : random.choice([True, False])) registered_company_name = Faker("company") registered_company_number = Faker("numerify", text="######") date_updated = Faker("date_this_year", before_today=True) |