mirror of
https://github.com/django/django.git
synced 2025-07-29 08:04:27 +00:00
Replace test use of assertTrue with failUnless. No matter how many times we try, Python 2.3 still doesn't recognize assertTrue.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10390 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
668bc4f7be
commit
bb31cf37ff
2 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ class DeletionTests(TestCase):
|
|||
}
|
||||
formset = PoemFormSet(data, instance=poet)
|
||||
formset.save()
|
||||
self.assertTrue(formset.is_valid())
|
||||
self.failUnless(formset.is_valid())
|
||||
self.assertEqual(Poem.objects.count(), 0)
|
||||
|
||||
def test_add_form_deletion_when_invalid(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue