#NEWLINE# def test_custom_app( self ) : #NEWLINE# #INDENT# response = self . _response ( '{{ foo }}' , current_app = 'foobar' ) #NEWLINE# rc = response . resolve_context ( response . context_data ) #NEWLINE# self . assertEqual ( rc . current_app , 'foobar' )