diff options
| author | Luke Plant <L.Plant.98@cantab.net> | 2006-05-11 21:52:23 +0000 |
|---|---|---|
| committer | Luke Plant <L.Plant.98@cantab.net> | 2006-05-11 21:52:23 +0000 |
| commit | c4274795391488afca2bf75e6eda32ab22906637 (patch) | |
| tree | 708da96a842bdfdf554783e5137b299c11976fb0 /tests/modeltests/basic | |
| parent | 4116403a55fd816220703a8ae9f3ed592131ba5a (diff) | |
Updated tests in line with changed exception messages, fixing 2 failures.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2898 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/modeltests/basic')
| -rw-r--r-- | tests/modeltests/basic/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modeltests/basic/models.py b/tests/modeltests/basic/models.py index 16df447c91..0470d6bc9b 100644 --- a/tests/modeltests/basic/models.py +++ b/tests/modeltests/basic/models.py @@ -197,7 +197,7 @@ TypeError: dates() takes at least 3 arguments (1 given) >>> Article.objects.dates('invalid_field', 'year') Traceback (most recent call last): ... -FieldDoesNotExist: name=invalid_field +FieldDoesNotExist: Article has no field named 'invalid_field' >>> Article.objects.dates('pub_date', 'bad_kind') Traceback (most recent call last): |
