summaryrefslogtreecommitdiff
path: root/tests/backends
diff options
context:
space:
mode:
authorVeres Lajos <vlajos@gmail.com>2014-11-03 22:48:03 +0000
committerTim Graham <timograham@gmail.com>2014-11-03 20:59:30 -0500
commita71a2ea756673cd3c7a2c5125fa7e7f334b05475 (patch)
tree61cff2d319c13011d004d0f008fe1957fd773651 /tests/backends
parent7b420367524ad9f29b8bf0284f4b40bd6cfc8b93 (diff)
Fixed typos using https://github.com/vlajos/misspell_fixer
Diffstat (limited to 'tests/backends')
-rw-r--r--tests/backends/tests.py4
1 files changed, 2 insertions, 2 deletions
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)