#NEWLINE# def test_set_via_settings( self ) : #NEWLINE# #INDENT# _old_miu_set = settings . MARKITUP_SET #NEWLINE# try : #NEWLINE# #INDENT# for ( miu_set , link ) in self . set_urls : #NEWLINE# #INDENT# css_link = ( link % { #NEWLINE# #INDENT# 'prefix' : self . prefix , #NEWLINE# 'file' : 'style.css' , #NEWLINE# #UNINDENT# } ) #NEWLINE# js_link = ( link % { #NEWLINE# #INDENT# 'prefix' : self . prefix , #NEWLINE# 'file' : 'set.js' , #NEWLINE# #UNINDENT# } ) #NEWLINE# settings . MARKITUP_SET = miu_set #NEWLINE# self . assertIn ( css_link , self . _get_css ( ) ) #NEWLINE# self . assertIn ( js_link , self . _get_js ( ) ) #NEWLINE# #UNINDENT# #UNINDENT# finally : #NEWLINE# #INDENT# settings . MARKITUP_SET = _old_miu_set