aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/tests/content.py
diff options
context:
space:
mode:
authorTom Christie2011-04-11 13:13:25 +0100
committerTom Christie2011-04-11 13:13:25 +0100
commitdad1fa5798912e460ff05283c1c3b37d37b8f007 (patch)
treed01c51f376a3306a1ce7d855629f10bec034b44c /djangorestframework/tests/content.py
parent0fe8d1a15dab8c1da37b4e966ccfe9095f24fa76 (diff)
downloaddjango-rest-framework-dad1fa5798912e460ff05283c1c3b37d37b8f007.tar.bz2
method overloading tests passing
Diffstat (limited to 'djangorestframework/tests/content.py')
-rw-r--r--djangorestframework/tests/content.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/djangorestframework/tests/content.py b/djangorestframework/tests/content.py
index 05679b2f..240601e0 100644
--- a/djangorestframework/tests/content.py
+++ b/djangorestframework/tests/content.py
@@ -1,12 +1,11 @@
-# TODO: refactor these tests
+# TODO: finish off the refactoring
from django.test import TestCase
from djangorestframework.compat import RequestFactory
from djangorestframework.request import RequestMixin
from djangorestframework.parsers import FormParser, MultipartParser, PlainTextParser
-#from djangorestframework.content import ContentMixin, StandardContentMixin, OverloadedContentMixin
-#
-#
-class TestContentMixins(TestCase):
+
+
+class TestContentParsing(TestCase):
def setUp(self):
self.req = RequestFactory()
@@ -125,4 +124,3 @@ class TestContentMixins(TestCase):
# content = 'qwerty'
# request = self.req.post('/', {OverloadedContentMixin.CONTENT_PARAM: content})
# self.assertEqual(OverloadedContentMixin().determine_content(request), (None, content))
-