def test_parse_from_environ(self): parser = FormDataParser() stream, _, _ = parser.parse_from_environ({"wsgi.input": ""}) assert stream is not None
def test_parse_from_environ(self): parser = FormDataParser() stream, _, _ = parser.parse_from_environ({'wsgi.input': ''}) assert stream is not None
def test_parse_bad_content_type(self): parser = FormDataParser() assert parser.parse('', 'bad-mime-type', 0) == \ ('', MultiDict([]), MultiDict([]))
def test_parse_bad_content_type(self): parser = FormDataParser() assert parser.parse('', 'bad-mime-type', 0) == \ ('', MultiDict([]), MultiDict([]))