summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2006-01-01 18:43:09 +0000
committerAdrian Holovaty <adrian@holovaty.com>2006-01-01 18:43:09 +0000
commit49874d54a2d73f0117b7bb07eea2cf6096b7dd29 (patch)
treebff6e9462512513da98c49d17e2313ac53ada876
parent53aef92bf89f2d655a125d94a0e24203e76af1d6 (diff)
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
-rw-r--r--tests/othertests/httpwrappers.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/othertests/httpwrappers.py b/tests/othertests/httpwrappers.py
index 0564ee04f0..da11779027 100644
--- a/tests/othertests/httpwrappers.py
+++ b/tests/othertests/httpwrappers.py
@@ -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):