'With a CA file that does not match any CA, connection to the
OpenStack servers fails.'

def test_verify_ca_path_no_match_fails(self):

    path = self.make_temporary_directory()
    RootCredential.initialize(path, 'mycluster')
    session = self.session_for_test(config_override={'peer_verify': True, 'peer_ca_path': path.child(AUTHORITY_CERTIFICATE_FILENAME).path})
    self.assertRaises(BadRequest, session.get_token)
