aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/tests/parsers.py
diff options
context:
space:
mode:
Diffstat (limited to 'djangorestframework/tests/parsers.py')
-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 """