def test_destroy_node(self): result = libcloud_compute.destroy_node("test_id", "test") self.assertTrue(result)
def test_destroy_node_invalid(self): with self.assertRaises(ValueError): libcloud_compute.destroy_node("foo_node", "test")
def test_destroy_node(self): result = libcloud_compute.destroy_node('test_id', 'test') self.assertTrue(result)