diff options
author | 2018-09-04 22:06:07 +0200 | |
---|---|---|
committer | 2018-09-04 22:06:07 +0200 | |
commit | e211cbf6dbbe3a28ef1276af69c4f387db52d596 (patch) | |
tree | 8bb441e8528056806e129c5d45b3770bbaa0fd31 /api/tests/base.py | |
parent | Add job tags. (diff) |
Set up GitLab CI properly.
Diffstat (limited to 'api/tests/base.py')
-rw-r--r-- | api/tests/base.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/api/tests/base.py b/api/tests/base.py index 06f7233c..395dc55c 100644 --- a/api/tests/base.py +++ b/api/tests/base.py @@ -1,12 +1,11 @@ from django.contrib.auth.models import User -from rest_framework.authtoken.models import Token -from rest_framework.test import APIClient, APITestCase +from rest_framework.test import APITestCase test_user, _created = User.objects.get_or_create( username='test', email='[email protected]', - password='testpass', + password='testpass', # flake8: noqa - S106 is_superuser=True, is_staff=True ) |