mirror of https://gitlab.crans.org/bde/nk20
Remove unused imports in tests
This commit is contained in:
parent
cb545417ac
commit
b6847415b5
|
@ -5,8 +5,6 @@ from django.contrib.auth.models import User
|
||||||
from django.test import TestCase
|
from django.test import TestCase
|
||||||
from django.urls import reverse
|
from django.urls import reverse
|
||||||
|
|
||||||
from note.models import TransactionTemplate, TemplateCategory
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Test that login page still works
|
Test that login page still works
|
||||||
"""
|
"""
|
||||||
|
@ -56,4 +54,3 @@ class TemplateLoggedInTests(TestCase):
|
||||||
def test_accounts_password_reset(self):
|
def test_accounts_password_reset(self):
|
||||||
response = self.client.get('/accounts/password_reset/')
|
response = self.client.get('/accounts/password_reset/')
|
||||||
self.assertEqual(response.status_code, 200)
|
self.assertEqual(response.status_code, 200)
|
||||||
|
|
||||||
|
|
|
@ -5,14 +5,12 @@ import hashlib
|
||||||
import os
|
import os
|
||||||
from datetime import date, timedelta
|
from datetime import date, timedelta
|
||||||
|
|
||||||
from django.conf import settings
|
|
||||||
from django.contrib.auth.models import User
|
from django.contrib.auth.models import User
|
||||||
from django.core.files.uploadedfile import SimpleUploadedFile
|
from django.core.files.uploadedfile import SimpleUploadedFile
|
||||||
from django.db.models import Q
|
from django.db.models import Q
|
||||||
from django.test import TestCase
|
from django.test import TestCase
|
||||||
from django.urls import reverse
|
from django.urls import reverse
|
||||||
from django.utils import timezone
|
from django.utils import timezone
|
||||||
|
|
||||||
from member.models import Club, Membership, Profile
|
from member.models import Club, Membership, Profile
|
||||||
from note.models import Alias, NoteSpecial
|
from note.models import Alias, NoteSpecial
|
||||||
from permission.models import Role
|
from permission.models import Role
|
||||||
|
|
Loading…
Reference in New Issue