#NEWLINE# def testCustomConfigFile( ) : #NEWLINE# #INDENT# if os . path . isfile ( client . CONFIG_FILE ) : #NEWLINE# #INDENT# configPath = './CONFIGFILE' #NEWLINE# shutil . copyfile ( client . CONFIG_FILE , configPath ) #NEWLINE# schedule_for_cleanup ( syn2 ) #NEWLINE# syn2 = synapseclient . Synapse ( configPath = configPath ) #NEWLINE# syn2 . login ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# print ( 'To fully test the login method a configuration file is required' )