#NEWLINE# def setUp( self ) : #NEWLINE# #INDENT# HTTPretty . enable ( ) #NEWLINE# Backend = module_member ( self . backend_path ) #NEWLINE# self . strategy = TestStrategy ( TestStorage ) #NEWLINE# self . backend = Backend ( self . strategy , redirect_uri = self . complete_url ) #NEWLINE# self . name = self . backend . name . upper ( ) . replace ( '-' , '_' ) #NEWLINE# self . complete_url = self . strategy . build_absolute_uri ( self . raw_complete_url . format ( self . backend . name ) ) #NEWLINE# backends = ( self . backend_path , 'social.tests.backends.test_broken.BrokenBackendAuth' ) #NEWLINE# self . strategy . set_settings ( { #NEWLINE# #INDENT# 'SOCIAL_AUTH_AUTHENTICATION_BACKENDS' : backends , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . strategy . set_settings ( self . extra_settings ( ) ) #NEWLINE# load_backends ( self , force_load = True ) #NEWLINE# User . reset_cache ( ) #NEWLINE# TestUserSocialAuth . reset_cache ( ) #NEWLINE# TestNonce . reset_cache ( ) #NEWLINE# TestAssociation . reset_cache ( ) #NEWLINE# TestCode . reset_cache ( )