aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Finucane <stephen.finucane@intel.com>2015-08-21 15:32:14 +0100
committerDamien Lespiau <damien.lespiau@intel.com>2015-09-17 17:51:20 +0100
commit8766d4ebc4f742d4d396f5046f6ecfdfd19f73e8 (patch)
treeef4e5c87bad4f4d585a0df61f14b9a05f530191b
parent933a8af5e7d6df1d6bd17bedf17689b0c09640aa (diff)
downloadpatchwork-8766d4ebc4f742d4d396f5046f6ecfdfd19f73e8.tar
patchwork-8766d4ebc4f742d4d396f5046f6ecfdfd19f73e8.tar.gz
trivial: Remove dead imports from 'tests'
Remove some unused imports. This keeps PEP8 happy. Reviewed-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Stephen Finucane <stephen.finucane@intel.com> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
-rw-r--r--patchwork/tests/test_confirm.py1
-rw-r--r--patchwork/tests/test_mail_settings.py3
-rw-r--r--patchwork/tests/test_notifications.py4
-rw-r--r--patchwork/tests/test_user.py2
4 files changed, 1 insertions, 9 deletions
diff --git a/patchwork/tests/test_confirm.py b/patchwork/tests/test_confirm.py
index fad5125..9fe938e 100644
--- a/patchwork/tests/test_confirm.py
+++ b/patchwork/tests/test_confirm.py
@@ -17,7 +17,6 @@
# along with Patchwork; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-import unittest
from django.test import TestCase
from django.contrib.auth.models import User
from django.core.urlresolvers import reverse
diff --git a/patchwork/tests/test_mail_settings.py b/patchwork/tests/test_mail_settings.py
index a193c97..35c832a 100644
--- a/patchwork/tests/test_mail_settings.py
+++ b/patchwork/tests/test_mail_settings.py
@@ -17,13 +17,10 @@
# along with Patchwork; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-import unittest
import re
from django.test import TestCase
-from django.test.client import Client
from django.core import mail
from django.core.urlresolvers import reverse
-from django.contrib.auth.models import User
from patchwork.models import EmailOptout, EmailConfirmation, Person
from patchwork.tests.utils import create_user, error_strings
diff --git a/patchwork/tests/test_notifications.py b/patchwork/tests/test_notifications.py
index c46af61..37adb8d 100644
--- a/patchwork/tests/test_notifications.py
+++ b/patchwork/tests/test_notifications.py
@@ -19,12 +19,10 @@
import datetime
from django.test import TestCase
-from django.core.urlresolvers import reverse
from django.core import mail
from django.conf import settings
-from django.db.utils import IntegrityError
from patchwork.models import Patch, State, PatchChangeNotification, EmailOptout
-from patchwork.tests.utils import defaults, create_maintainer
+from patchwork.tests.utils import defaults
from patchwork.utils import send_notifications
class PatchNotificationModelTest(TestCase):
diff --git a/patchwork/tests/test_user.py b/patchwork/tests/test_user.py
index 9eeda7f..8bef45a 100644
--- a/patchwork/tests/test_user.py
+++ b/patchwork/tests/test_user.py
@@ -17,9 +17,7 @@
# along with Patchwork; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-import unittest
from django.test import TestCase
-from django.test.client import Client
from django.core import mail
from django.core.urlresolvers import reverse
from django.conf import settings