diff options
| author | Tom Christie | 2011-05-19 08:36:55 +0100 |
|---|---|---|
| committer | Tom Christie | 2011-05-19 08:36:55 +0100 |
| commit | 8c3280f9c0d73c4e2536f1d757ad457b4a8f1de7 (patch) | |
| tree | bbcc27d1187e98c179342e0a7c75084d0c2d7934 /djangorestframework/tests/content.py | |
| parent | 49d4e50342cd3a6e2dce9f61d379cb54a0c1c6b5 (diff) | |
| download | django-rest-framework-8c3280f9c0d73c4e2536f1d757ad457b4a8f1de7.tar.bz2 | |
data flattening needs to go into resource
Diffstat (limited to 'djangorestframework/tests/content.py')
| -rw-r--r-- | djangorestframework/tests/content.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/djangorestframework/tests/content.py b/djangorestframework/tests/content.py index fb7a2b14..ee3597a4 100644 --- a/djangorestframework/tests/content.py +++ b/djangorestframework/tests/content.py @@ -36,7 +36,7 @@ class TestContentParsing(TestCase): form_data = {'qwerty': 'uiop'} view.parsers = (FormParser, MultiPartParser) view.request = self.req.put('/', data=form_data) - self.assertEqual(view.DATA, form_data) + self.assertEqual(view.DATA.items(), form_data.items()) def ensure_determines_non_form_content_PUT(self, view): """Ensure view.RAW_CONTENT returns content for PUT request with non-form content.""" |
