diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-05-23 16:27:07 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-05-23 16:27:07 +0100 |
commit | e9c5aacdfebe65cc865cb9c2b56f456daa1214c1 (patch) | |
tree | 8455b1f611bdbb74e4f63a34779329a091decb3e /ctrack/users/tests | |
parent | 4d3eb4c4c7aff7d2837476cbc7ee524b3f5c2424 (diff) |
removed unneeded imports
Diffstat (limited to 'ctrack/users/tests')
-rw-r--r-- | ctrack/users/tests/test_models.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/ctrack/users/tests/test_models.py b/ctrack/users/tests/test_models.py index 54d337f..fb2eade 100644 --- a/ctrack/users/tests/test_models.py +++ b/ctrack/users/tests/test_models.py @@ -1,12 +1,5 @@ import pytest -from django.contrib.auth import get_user_model -from ctrack.organisations.models import Mode, Person, Submode -from ctrack.organisations.tests.factories import ( - OrganisationFactory, - PersonFactory, - RoleFactory, -) from ctrack.users.models import User pytestmark = pytest.mark.django_db @@ -17,6 +10,7 @@ def test_user_get_absolute_url(user: User): def test_user_is_person_object(user: User): + """User comes from ctrack.conftest. """ assert user.oes_user is False |