From 9bbf94112f011276d4e25b21676cfc2b74aaaef5 Mon Sep 17 00:00:00 2001 From: Gary Wilson Jr Date: Mon, 30 Mar 2009 23:20:10 +0000 Subject: [1.0.X]: Fixed #9978 -- Fixed a KeyError exception that was being raised when using the logout method on the test client on an unauthenticated user, based on patch from ericholscher. Backport of r10228 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10236 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- tests/modeltests/test_client/models.py | 1 - 1 file changed, 1 deletion(-) (limited to 'tests/modeltests/test_client') diff --git a/tests/modeltests/test_client/models.py b/tests/modeltests/test_client/models.py index 2cca618b4e..a0900ec2c3 100644 --- a/tests/modeltests/test_client/models.py +++ b/tests/modeltests/test_client/models.py @@ -411,4 +411,3 @@ class ClientTest(TestCase): self.assertEqual(mail.outbox[1].from_email, 'from@example.com') self.assertEqual(mail.outbox[1].to[0], 'second@example.com') self.assertEqual(mail.outbox[1].to[1], 'third@example.com') - -- cgit v1.3