@@ -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
@@ -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
@@ -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):
@@ -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
Remove some unused imports. This keeps PEP8 happy. Signed-off-by: Stephen Finucane <stephen.finucane@intel.com> --- patchwork/tests/test_confirm.py | 1 - patchwork/tests/test_mail_settings.py | 3 --- patchwork/tests/test_notifications.py | 4 +--- patchwork/tests/test_user.py | 2 -- 4 files changed, 1 insertion(+), 9 deletions(-)