Mercurial > public > sg101
diff antispam/tests/test_receivers.py @ 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 | 9d6c2ed2f348 |
children |
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