#NEWLINE# def test_incomplete_file( self ) : #NEWLINE# #INDENT# "\n        Credentials file 'bad_oauth1-1.txt' is incomplete\n        " #NEWLINE# try : #NEWLINE# #INDENT# self . auth . load_creds ( creds_file = 'bad_oauth1-1.txt' , subdir = e . subdir ) #NEWLINE# #UNINDENT# except ValueError : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# except Exception as e : #NEWLINE# #INDENT# self . fail ( ( 'Unexpected exception thrown: %s' % e ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . fail ( 'ValueError exception not thrown.' )