Ejemplo n.º 1
0
    def test_share_server_delete(self):
        share_serv_id = "fake_share_server"

        api.share_server_delete(self.request, share_serv_id)

        self.manilaclient.share_servers.delete.assert_called_once_with(
            share_serv_id)
Ejemplo n.º 2
0
 def delete(self, request, obj_id):
     manila.share_server_delete(request, obj_id)
Ejemplo n.º 3
0
 def delete(self, request, obj_id):
     manila.share_server_delete(request, obj_id)