changeset 940:0cff6acf7d61

Don't need to create our own test client.
author Brian Neal <bgneal@gmail.com>
date Wed, 29 Apr 2015 20:31:35 -0500
parents 3782fa705821
children 4dc6a452afd3
files antispam/tests/test_receivers.py
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/antispam/tests/test_receivers.py	Wed Apr 29 20:29:47 2015 -0500
+++ b/antispam/tests/test_receivers.py	Wed Apr 29 20:31:35 2015 -0500
@@ -2,7 +2,6 @@
 import logging
 
 from django.contrib.auth.models import User
-from django.test import Client
 from django.test import TestCase
 
 from testfixtures import log_capture
@@ -12,7 +11,6 @@
 
     def setUp(self):
         self.user = User.objects.create_user('steve', 'steve@example.com', 'pwd')
-        self.client = Client()
 
         # Temporarily enable logging
         self.old_disable = logging.getLogger().manager.disable