1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00
Backport of a71a2ea756 from master
This commit is contained in:
Veres Lajos
2014-11-03 22:48:03 +00:00
committed by Tim Graham
parent 378f94e39e
commit 6b32adda59
20 changed files with 27 additions and 27 deletions

View File

@@ -1097,7 +1097,7 @@ class ModelFormBasicTests(TestCase):
self.assertEqual(f.cleaned_data['slug'], 'entertainment')
self.assertEqual(f.cleaned_data['url'], 'entertainment')
c1 = f.save()
# Testing wether the same object is returned from the
# Testing whether the same object is returned from the
# ORM... not the fastest way...
self.assertEqual(Category.objects.count(), 1)