diff options
-rw-r--r-- | patchwork/tests/test_confirm.py | 1 | ||||
-rw-r--r-- | patchwork/tests/test_mail_settings.py | 3 | ||||
-rw-r--r-- | patchwork/tests/test_notifications.py | 4 | ||||
-rw-r--r-- | patchwork/tests/test_user.py | 2 |
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 |