From b6847415b588601f74aeff7438575b02ba7f95f6 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Fri, 4 Sep 2020 07:53:31 +0200 Subject: [PATCH] Remove unused imports in tests --- apps/member/tests/test_login.py | 3 --- apps/member/tests/test_memberships.py | 2 -- 2 files changed, 5 deletions(-) diff --git a/apps/member/tests/test_login.py b/apps/member/tests/test_login.py index c4467f81..e022c4ea 100644 --- a/apps/member/tests/test_login.py +++ b/apps/member/tests/test_login.py @@ -5,8 +5,6 @@ from django.contrib.auth.models import User from django.test import TestCase from django.urls import reverse -from note.models import TransactionTemplate, TemplateCategory - """ Test that login page still works """ @@ -56,4 +54,3 @@ class TemplateLoggedInTests(TestCase): def test_accounts_password_reset(self): response = self.client.get('/accounts/password_reset/') self.assertEqual(response.status_code, 200) - diff --git a/apps/member/tests/test_memberships.py b/apps/member/tests/test_memberships.py index 4852de77..ef8b8209 100644 --- a/apps/member/tests/test_memberships.py +++ b/apps/member/tests/test_memberships.py @@ -5,14 +5,12 @@ import hashlib import os from datetime import date, timedelta -from django.conf import settings from django.contrib.auth.models import User from django.core.files.uploadedfile import SimpleUploadedFile from django.db.models import Q from django.test import TestCase from django.urls import reverse from django.utils import timezone - from member.models import Club, Membership, Profile from note.models import Alias, NoteSpecial from permission.models import Role