diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2005-12-05 03:37:23 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2005-12-05 03:37:23 +0000 |
| commit | 65c1a9f1c95670425334af0750ada2ae878d33fc (patch) | |
| tree | 43ecf8368e844d42d1dcb93d90094e7cb4ca3b4a /tests | |
| parent | 027f2a378a836d828347f3d295cae4f83a9cad71 (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.py | 4 |
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 |
