#NEWLINE# def test_get_unsupported_message_release( self ) : #NEWLINE# #INDENT# fake_get_connection = self . make_fake_connection ( ( 'Solaris' , 'Tijuana' , '12' ) ) #NEWLINE# with patch ( 'ceph_deploy.hosts.get_connection' , self ) : #NEWLINE# #INDENT# with raises ( exc . UnsupportedPlatform ) as error : #NEWLINE# #INDENT# hosts . get ( 'myhost' ) #NEWLINE# #UNINDENT# #UNINDENT# assert ( error . value . __str__ ( ) == 'Platform is not supported: Solaris 12 Tijuana' )