'Parse raw file upload when filename is missing with TemporaryFileUploadHandler.'

def test_parse_missing_filename_large_file(self):

    parser = FileUploadParser()
    self.stream.seek(0)
    self.parser_context[u'request'].upload_handlers = (TemporaryFileUploadHandler(),)
    self.parser_context[u'request'].META[u'HTTP_CONTENT_DISPOSITION'] = u''
    with pytest.raises(ParseError) as excinfo:
        parser.parse(self.stream, None, self.parser_context)
    assert (str(excinfo.value) == u'Missing    filename.    Request    should    include    a    Content-Disposition    header    with    a    filename    parameter.')
