summaryrefslogtreecommitdiff
path: root/tests/modeltests/get_latest
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2006-05-06 18:36:32 +0000
committerAdrian Holovaty <adrian@holovaty.com>2006-05-06 18:36:32 +0000
commit0727df90f0c301c98b560766ea869802ec3802fc (patch)
treec9c759d404dac4b177ede3902dca91fe0792c989 /tests/modeltests/get_latest
parent71f45686137dc45717f41e145b260d960c4bb2e5 (diff)
Fixed #1781 -- Fixed unit tests to use new error message for DoesNotExist. Thanks, pb
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2858 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/modeltests/get_latest')
-rw-r--r--tests/modeltests/get_latest/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modeltests/get_latest/models.py b/tests/modeltests/get_latest/models.py
index 4b81dc837c..0af2146c64 100644
--- a/tests/modeltests/get_latest/models.py
+++ b/tests/modeltests/get_latest/models.py
@@ -34,7 +34,7 @@ API_TESTS = """
>>> Article.objects.latest()
Traceback (most recent call last):
...
-DoesNotExist: Article does not exist for ...
+DoesNotExist: Article matching query does not exist.
# Create a couple of Articles.
>>> from datetime import datetime