'First key in credentials file \'bad_oauth1-2.txt\' is ill-formed'

def test_malformed_file1(self):

    try:
        self.auth.load_creds(creds_file='bad_oauth1-2.txt', subdir=self.subdir)
    except ValueError:
        pass
    except Exception as e:
        self.fail(('Unexpected    exception    thrown:    %s' % e))
    else:
        self.fail('ValueError    exception    not    thrown.')
