summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2005-12-05 03:37:23 +0000
committerAdrian Holovaty <adrian@holovaty.com>2005-12-05 03:37:23 +0000
commit65c1a9f1c95670425334af0750ada2ae878d33fc (patch)
tree43ecf8368e844d42d1dcb93d90094e7cb4ca3b4a /tests
parent027f2a378a836d828347f3d295cae4f83a9cad71 (diff)
Added two more unit tests for #982 (which still pass under Python 2.4). Refs #982
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1546 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests')
-rw-r--r--tests/testapp/models/basic.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/testapp/models/basic.py b/tests/testapp/models/basic.py
index c3a45ba5bd..dc108011e0 100644
--- a/tests/testapp/models/basic.py
+++ b/tests/testapp/models/basic.py
@@ -164,6 +164,10 @@ False
True
>>> a7 != a8
True
+>>> articles.get_object(id__exact=8) != articles.get_object(id__exact=7)
+True
+>>> articles.get_object(id__exact=8) == articles.get_object(id__exact=7)
+False
"""
from django.conf import settings