diff options
| author | Tim Graham <timograham@gmail.com> | 2016-03-21 20:20:04 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-03-21 20:20:04 -0400 |
| commit | 4b510c3889db616a95ac5f0a2d631808ff003074 (patch) | |
| tree | b25e91d18a735dae0401f3ad07e63d6bcc28a65b /tests/admin_views | |
| parent | c41737dc00e2c8d34046b9f856f23fcc0cb4a82c (diff) | |
Removed unused variable.
Diffstat (limited to 'tests/admin_views')
| -rw-r--r-- | tests/admin_views/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/admin_views/tests.py b/tests/admin_views/tests.py index a0c7e51c2b..356b1128da 100644 --- a/tests/admin_views/tests.py +++ b/tests/admin_views/tests.py @@ -2068,7 +2068,7 @@ class AdminViewDeletedObjectsTest(TestCase): which says the deletion is prohibited. """ q = Question.objects.create(question='Why?') - a = Answer.objects.create(question=q, answer='Because.') + Answer.objects.create(question=q, answer='Because.') response = self.client.post(reverse('admin:admin_views_question_delete', args=(q.pk,)), {'post': 'yes'}) self.assertEqual(Question.objects.count(), 1) |
