Switched to use assertEqual instead of assertEquals.

This commit is contained in:
Berker Peksag 2015-03-22 05:30:21 +02:00 committed by Tim Graham
parent 87fed94440
commit f2e4d39a71
1 changed files with 2 additions and 2 deletions

View File

@ -573,7 +573,7 @@ class OtherModelTests(IsolatedModelsTestCase):
class Meta:
ordering = ['order']
self.assertEquals(Model.check(), [])
self.assertEqual(Model.check(), [])
def test_just_order_with_respect_to_no_errors(self):
class Question(models.Model):
@ -585,7 +585,7 @@ class OtherModelTests(IsolatedModelsTestCase):
class Meta:
order_with_respect_to = 'question'
self.assertEquals(Answer.check(), [])
self.assertEqual(Answer.check(), [])
def test_ordering_with_order_with_respect_to(self):
class Question(models.Model):