#NEWLINE# def test_get_unsupported( self ) : #NEWLINE# #INDENT# fake_get_connection = self . make_fake_connection ( ( 'Solaris Enterprise' , '' , '' ) ) #NEWLINE# with patch ( 'ceph_deploy.hosts.get_connection' , fake_get_connection ) : #NEWLINE# #INDENT# with raises ( exc . UnsupportedPlatform ) : #NEWLINE# #INDENT# hosts . get ( 'myhost' )