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
This commit is contained in:
Adrian Holovaty 2006-05-06 18:36:32 +00:00
parent 71f4568613
commit 0727df90f0
5 changed files with 6 additions and 6 deletions

View file

@ -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