aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/tests/renderers.py
diff options
context:
space:
mode:
authorTom Christie2012-08-28 15:46:38 +0100
committerTom Christie2012-08-28 15:46:38 +0100
commitecd3733c5e229505baca5a870963f2dd492d6dd7 (patch)
treedfa16bc4186562d41bf8319da1df16030c44c33e /djangorestframework/tests/renderers.py
parent9ea12d14125a2a4ddc58e35ba420656f2fd29eb2 (diff)
downloaddjango-rest-framework-ecd3733c5e229505baca5a870963f2dd492d6dd7.tar.bz2
Added serializers and fields
Diffstat (limited to 'djangorestframework/tests/renderers.py')
-rw-r--r--djangorestframework/tests/renderers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/djangorestframework/tests/renderers.py b/djangorestframework/tests/renderers.py
index 610457c7..1943d012 100644
--- a/djangorestframework/tests/renderers.py
+++ b/djangorestframework/tests/renderers.py
@@ -380,7 +380,7 @@ class XMLRendererTestCase(TestCase):
content = StringIO(renderer.render(self._complex_data, 'application/xml'))
parser = XMLParser()
- complex_data_out, dummy = parser.parse(content, {}, [])
+ complex_data_out, dummy = parser.parse(content)
error_msg = "complex data differs!IN:\n %s \n\n OUT:\n %s" % (repr(self._complex_data), repr(complex_data_out))
self.assertEqual(self._complex_data, complex_data_out, error_msg)