aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/organisations/tests/test_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/test_factories.py
parent2adf4f28ec512b654a4802e274ad683d6c670fc5 (diff)
parent10579be5293908b57336ecd769b8e17a610e008a (diff)
Merge branch 'incident-report-form' of github.com:hammerheadlemon/ctrack into incident-report-form
Diffstat (limited to 'ctrack/organisations/tests/test_factories.py')
-rw-r--r--ctrack/organisations/tests/test_factories.py14
1 files changed, 5 insertions, 9 deletions
diff --git a/ctrack/organisations/tests/test_factories.py b/ctrack/organisations/tests/test_factories.py
index 9c0d575..227d7db 100644
--- a/ctrack/organisations/tests/test_factories.py
+++ b/ctrack/organisations/tests/test_factories.py
@@ -1,12 +1,8 @@
-from ctrack.organisations.tests.factories import OrganisationFactory
-from ctrack.organisations.tests.factories import PersonFactory
-from ctrack.organisations.tests.factories import RoleFactory
-from ctrack.organisations.tests.factories import UserFactory
-
-
-def test_user_factory():
- u = UserFactory.build()
- assert u.username
+from ctrack.organisations.tests.factories import (
+ OrganisationFactory,
+ PersonFactory,
+ RoleFactory,
+)
def test_organisation_factory():