diff options
Diffstat (limited to 'ctrack/organisations/tests/factories.py')
-rw-r--r-- | ctrack/organisations/tests/factories.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/ctrack/organisations/tests/factories.py b/ctrack/organisations/tests/factories.py index ba2655e..a0b700d 100644 --- a/ctrack/organisations/tests/factories.py +++ b/ctrack/organisations/tests/factories.py @@ -32,16 +32,6 @@ def _random_submode(): return sms[random.randint(0, len(sms) - 1)] -class UserFactory(DjangoModelFactory): - # Better to create this using example in ctrack.users.tests.factories. - # Handles password generation correctly. - class Meta: - model = User - - username = Faker("lexify", text="???????", letters="abcdsgTGQA") - password = Faker("lexify", text="????????", letters="AdOIqkcvBnMP") - - class OrganisationFactory(DjangoModelFactory): class Meta: model = Organisation |