#NEWLINE# def test_jquery_url( self ) : #NEWLINE# #INDENT# _old_jquery_url = settings . JQUERY_URL #NEWLINE# try : #NEWLINE# #INDENT# for ( url , link ) in self . jquery_urls : #NEWLINE# #INDENT# settings . JQUERY_URL = url #NEWLINE# if url : #NEWLINE# #INDENT# self . assertIn ( link , self . _get_js ( ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . assertHTMLEqual ( self . _get_js ( ) , ( '<script type="text/javascript" src="%(prefix)s/markitup/ajax_csrf.js"></script>\n<script type="text/javascript" src="%(prefix)s/markitup/jquery.markitup.js"></script>\n<script type="text/javascript" src="%(prefix)s/markitup/sets/default/set.js"></script>' % { #NEWLINE# #INDENT# 'prefix' : self . prefix , #NEWLINE# #UNINDENT# } ) ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# finally : #NEWLINE# #INDENT# settings . JQUERY_URL = _old_jquery_url