aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework
diff options
context:
space:
mode:
authorTom Christie2011-06-10 16:00:22 +0100
committerTom Christie2011-06-10 16:00:22 +0100
commita336f09157f2402213140925d933620e78c863d9 (patch)
tree73e6a0d1453882c89ec452bb21198efcf8d557cb /djangorestframework
parentd1beedadbd984074e05782bc79d113a8d3dfba4c (diff)
downloaddjango-rest-framework-a336f09157f2402213140925d933620e78c863d9.tar.bz2
Drop test_fail()
Diffstat (limited to 'djangorestframework')
-rw-r--r--djangorestframework/tests/parsers.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/djangorestframework/tests/parsers.py b/djangorestframework/tests/parsers.py
index 656d63c8..deba688e 100644
--- a/djangorestframework/tests/parsers.py
+++ b/djangorestframework/tests/parsers.py
@@ -143,12 +143,7 @@ class Form(forms.Form):
class TestFormParser(TestCase):
def setUp(self):
- self.string = "field1=abc&field2=defghijk"
-
- def test_fail(self):
- """ Demonstrate that `parse_qs` fails on forms """
- data = parse_qs(self.string, keep_blank_values=True)
- self.assertEqual(Form(data).is_valid(), False)
+ self.string = "field1=abc&field2=defghijk"
def test_parse(self):
""" Make sure the `QueryDict` works OK """