@temporary_media_root()
    def test_download_response(self):
        setup_document()
        url = reverse('object:default_file', kwargs={'slug': slug})
        response = self.client.get(url)
        assert_download_response(self,
                                 response,
                                 content=file_content,
                                 basename=file_name,
                                 mime_type='text/plain')
Forgets local authentication and cached properties in this Api instance.
dataset/ETHPy150Open benoitbryon/django-downloadview/demo/demoproject/object/tests.py/DefaultFileTestCase.test_download_response--crossover with--dataset/ETHPy150Open simon-weber/gmusicapi/gmusicapi/clients/shared.py/_Base.logout