@mock.patch('shade.OpenStackCloud.get_volume')
    @mock.patch('shade.OpenStackCloud.nova_client')
    def test_delete_server_no_cinder(self, nova_mock, cinder_mock):
        server = fakes.FakeServer('1234', 'porky', 'ACTIVE')
        nova_mock.servers.list.return_value = [server]
        with mock.patch('shade.OpenStackCloud.has_service',
                        return_value=False):
            self.assertTrue(self.cloud.delete_server('porky', wait=False))
            nova_mock.servers.delete.assert_called_with(server=server.id)
            self.assertFalse(cinder_mock.called)
Updating a Node only triggers its descendents
dataset/ETHPy150Open openstack-infra/shade/shade/tests/unit/test_delete_server.py/TestDeleteServer.test_delete_server_no_cinder--crossover with--dataset/ETHPy150Open akaihola/lusmu/lusmu/tests/test_core.py/UpdateNodesTestCase.test_only_leafs_triggered_1