Home
last modified time | relevance | path

Searched refs:list_instance (Results 1 – 6 of 6) sorted by relevance

/tools/acloud/list/
Dlist_test.py28 from acloud.list import list as list_instance unknown
65 self.Patch(list_instance, "GetLocalInstancesByNames",
67 self.Patch(list_instance, "GetRemoteInstances",
69 instances_list = list_instance.GetInstancesFromInstanceNames(cfg, instance_names)
74 instances_list = list_instance.GetInstancesFromInstanceNames(cfg, instance_names)
84 list_instance.GetInstancesFromInstanceNames,
94 self.Patch(list_instance, "GetCFRemoteInstances", return_value=instance_names)
96 self.assertEqual(list_instance.ChooseOneRemoteInstance(cfg), expected_instance)
99 self.Patch(list_instance, "GetCFRemoteInstances", return_value=[])
101 list_instance.ChooseOneRemoteInstance(cfg)
[all …]
/tools/acloud/reconnect/
Dreconnect_test.py31 from acloud.list import list as list_instance unknown
343 self.Patch(list_instance, "GetInstancesFromInstanceNames",
345 self.Patch(list_instance, "ChooseInstances",
354 list_instance.GetInstancesFromInstanceNames.assert_called_once()
361 list_instance.ChooseInstances.assert_called_once()
367 self.Patch(list_instance, "ChooseInstances",
Dreconnect.py34 from acloud.list import list as list_instance unknown
216 instances_to_reconnect = list_instance.GetInstancesFromInstanceNames(
219 instances_to_reconnect = list_instance.ChooseInstances(cfg, args.all)
/tools/acloud/create/
Dlocal_image_local_instance.py69 from acloud.list import list as list_instance unknown
278 active_ins = list_instance.GetActiveCVD(local_instance_id)
616 existing_ins = list_instance.GetActiveCVD(local_instance_id)
633 existing_ins = list_instance.GetActiveCVD(local_instance_id)
Dlocal_image_local_instance_test.py29 from acloud.list import list as list_instance unknown
216 self.Patch(list_instance, "GetActiveCVD",
448 @mock.patch.object(list_instance, "GetActiveCVD")
Davd_spec.py37 from acloud.list import list as list_instance unknown
384 if list_instance.GetInstancesFromInstanceNames(
388 instance = list_instance.ChooseOneRemoteInstance(self._cfg)