1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

magic-removal: Fixed bug in custom_pk unit tests

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1651 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty
2005-12-14 21:50:37 +00:00
parent 765abe8f70
commit 96afbcff43
2 changed files with 4 additions and 11 deletions

View File

@@ -45,7 +45,7 @@ Fran Bones
>>> Employee.objects.get_object(pk='foo')
Traceback (most recent call last):
...
EmployeeDoesNotExist: Employee does not exist for {'pk': 'foo'}
DoesNotExist: Employee does not exist for {'pk': 'foo'}
# Fran got married and changed her last name.
>>> fran = Employee.objects.get_object(pk='XYZ456')