diff options
| author | Berker Peksag <berker.peksag@gmail.com> | 2015-03-22 05:30:21 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-03-22 10:56:51 -0400 |
| commit | f2e4d39a71929df3e61b6468d37dcb8e6d4f13b9 (patch) | |
| tree | 638a488c1e8c999f920ee70aca9666da9df3fbd3 /tests/invalid_models_tests/test_models.py | |
| parent | 87fed9444033533ad7105c4b1e4ffc5d7854a2c6 (diff) | |
Switched to use assertEqual instead of assertEquals.
Diffstat (limited to 'tests/invalid_models_tests/test_models.py')
| -rw-r--r-- | tests/invalid_models_tests/test_models.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/invalid_models_tests/test_models.py b/tests/invalid_models_tests/test_models.py index 3bc6856480..a2d9f36557 100644 --- a/tests/invalid_models_tests/test_models.py +++ b/tests/invalid_models_tests/test_models.py @@ -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): |
