aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/organisations/tests/factories.py
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-05-31 10:41:53 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-05-31 10:41:53 +0100
commit9917bd1793d0362b84704d0ad4409be4ec9dbdd3 (patch)
treeaa79d250353e148067eb7e4bd72ae32116c7b0d7 /ctrack/organisations/tests/factories.py
parent2adf4f28ec512b654a4802e274ad683d6c670fc5 (diff)
parent10579be5293908b57336ecd769b8e17a610e008a (diff)
Merge branch 'incident-report-form' of github.com:hammerheadlemon/ctrack into incident-report-form
Diffstat (limited to '')
-rw-r--r--ctrack/organisations/tests/factories.py10
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