def __call__(self, test_case, response, **assertions):
        self.assert_download_response(test_case, response)
        for key, value in iteritems(assertions):
            assert_func = getattr(self, 'assert_%s' % key)
            assert_func(test_case, response, value)
Assert that ``response`` is a valid DownloadResponse instance.
dataset/ETHPy150Open benoitbryon/django-downloadview/django_downloadview/test.py/DownloadResponseValidator.__call__