<s> from django . core . urlresolvers import reverse <EOL> import django . test <EOL> from django_downloadview import assert_download_response <EOL> class SimpleURLTestCase ( django . test . TestCase ) : <EOL> def test_download_response ( self ) : <EOL> """<STR_LIT>""" <EOL> url = reverse ( '<STR_LIT>' ) <EOL> response = self . client . get ( url ) <EOL> assert_download_response ( self , <EOL> response , <EOL> content = '<STR_LIT>' , <EOL> basename = '<STR_LIT>' , <EOL> mime_type = '<STR_LIT>' ) <EOL> class AvatarTestCase ( django . test . TestCase ) : <EOL> def test_download_response ( self ) : <EOL> """<STR_LIT>""" <EOL> url = reverse ( '<STR_LIT>' ) <EOL> response = self . client . get ( url ) <EOL> assert_download_response ( self , <EOL> response , <EOL> mime_type = '<STR_LIT>' ) </s>
