def test_reboot_node(self): result = libcloud_compute.reboot_node("test_id", "test") self.assertTrue(result)
def test_reboot_node_invalid(self): with self.assertRaises(ValueError): libcloud_compute.reboot_node("foo_node", "test")
def test_reboot_node(self): result = libcloud_compute.reboot_node('test_id', 'test') self.assertTrue(result)