#NEWLINE# def test_verify_ca_path_no_match_fails( self ) : #NEWLINE# #INDENT# '\n        With a CA file that does not match any CA, connection to the\n        OpenStack servers fails.\n        ' #NEWLINE# path = self . make_temporary_directory ( ) #NEWLINE# RootCredential . initialize ( path , b'mycluster' ) #NEWLINE# session = self . session_for_test ( config_override = { #NEWLINE# #INDENT# 'peer_verify' : True , #NEWLINE# 'peer_ca_path' : path . child ( AUTHORITY_CERTIFICATE_FILENAME ) . path , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertRaises ( BadRequest , session . get_token )