mirror of
https://github.com/Hopiu/django.git
synced 2026-04-16 13:01:09 +00:00
Fixed httpwrappers unit tests to reflect MultiValueDict repr() change
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1812 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
53aef92bf8
commit
49874d54a2
1 changed files with 3 additions and 3 deletions
|
|
@ -8,7 +8,7 @@
|
|||
>>> q['foo']
|
||||
Traceback (most recent call last):
|
||||
...
|
||||
MultiValueDictKeyError: "Key 'foo' not found in MultiValueDict {}"
|
||||
MultiValueDictKeyError: "Key 'foo' not found in MultiValueDict <MultiValueDict: {}>"
|
||||
|
||||
>>> q['something'] = 'bar'
|
||||
Traceback (most recent call last):
|
||||
|
|
@ -86,7 +86,7 @@ AttributeError: This QueryDict instance is immutable
|
|||
>>> q['foo']
|
||||
Traceback (most recent call last):
|
||||
...
|
||||
MultiValueDictKeyError: "Key 'foo' not found in MultiValueDict {}"
|
||||
MultiValueDictKeyError: "Key 'foo' not found in MultiValueDict <MultiValueDict: {}>"
|
||||
|
||||
>>> q['name'] = 'john'
|
||||
|
||||
|
|
@ -186,7 +186,7 @@ True
|
|||
>>> q['bar']
|
||||
Traceback (most recent call last):
|
||||
...
|
||||
MultiValueDictKeyError: "Key 'bar' not found in MultiValueDict {'foo': ['bar']}"
|
||||
MultiValueDictKeyError: "Key 'bar' not found in MultiValueDict <MultiValueDict: {'foo': ['bar']}>"
|
||||
|
||||
>>> q['something'] = 'bar'
|
||||
Traceback (most recent call last):
|
||||
|
|
|
|||
Loading…
Reference in a new issue