#NEWLINE# def test_site_name( self ) : #NEWLINE# #INDENT# context = site_name ( None ) #NEWLINE# self . assertEqual ( context , { #NEWLINE# #INDENT# 'SITE_NAME' : 'example.com' , #NEWLINE# #UNINDENT# } ) #NEWLINE# restore_site_id = settings . SITE_ID #NEWLINE# settings . SITE_ID = 100 #NEWLINE# context = site_name ( None ) #NEWLINE# self . assertEqual ( restore_site_id , { #NEWLINE# #INDENT# 'SITE_NAME' : 'example.org' , #NEWLINE# #UNINDENT# } ) #NEWLINE# settings . SITE_ID = restore_site_id