def test_verify_ca_path_no_match_fails(self):
        path = self.make_temporary_directory()
        RootCredential.initialize(path, b"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)
With a CA file that does not match any CA, connection to the
dataset/ETHPy150Open ClusterHQ/flocker/flocker/node/agents/functional/test_cinder.py/CinderHttpsTests.test_verify_ca_path_no_match_fails