From a71a2ea756673cd3c7a2c5125fa7e7f334b05475 Mon Sep 17 00:00:00 2001 From: Veres Lajos Date: Mon, 3 Nov 2014 22:48:03 +0000 Subject: Fixed typos using https://github.com/vlajos/misspell_fixer --- tests/backends/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/backends') diff --git a/tests/backends/tests.py b/tests/backends/tests.py index be876cc089..c5c032fe05 100644 --- a/tests/backends/tests.py +++ b/tests/backends/tests.py @@ -981,7 +981,7 @@ class DBConstraintTestCase(TransactionTestCase): available_apps = ['backends'] - def test_can_reference_existant(self): + def test_can_reference_existent(self): obj = models.Object.objects.create() ref = models.ObjectReference.objects.create(obj=obj) self.assertEqual(ref.obj, obj) @@ -989,7 +989,7 @@ class DBConstraintTestCase(TransactionTestCase): ref = models.ObjectReference.objects.get(obj=obj) self.assertEqual(ref.obj, obj) - def test_can_reference_non_existant(self): + def test_can_reference_non_existent(self): self.assertFalse(models.Object.objects.filter(id=12345).exists()) ref = models.ObjectReference.objects.create(obj_id=12345) ref_new = models.ObjectReference.objects.get(obj_id=12345) -- cgit v1.3