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