aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/organisations/tests/test_factories.py
diff options
context:
space:
mode:
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():