<s> from django . test import TestCase <EOL> from django . core . urlresolvers import reverse <EOL> from onadata . apps . logger . views import download_jsonform <EOL> class TestMapView ( TestCase ) : <EOL> def test_jsonform_url ( self ) : <EOL> id_string = "<STR_LIT>" <EOL> username = "<STR_LIT>" <EOL> url = reverse ( download_jsonform , kwargs = { "<STR_LIT:username>" : username , <EOL> "<STR_LIT>" : id_string } ) <EOL> self . assertIn ( "<STR_LIT>" . format ( username , id_string ) , <EOL> url ) </s>
