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
66 self.Patch(list_instance, "GetLocalInstancesByNames",
68 self.Patch(list_instance, "GetRemoteInstances",
70 instances_list = list_instance.GetInstancesFromInstanceNames(cfg, instance_names)
75 instances_list = list_instance.GetInstancesFromInstanceNames(cfg, instance_names)
85 list_instance.GetInstancesFromInstanceNames,
95 self.Patch(list_instance, "GetCFRemoteInstances", return_value=instance_names)
97 self.assertEqual(list_instance.ChooseOneRemoteInstance(cfg), expected_instance)
100 self.Patch(list_instance, "GetCFRemoteInstances", return_value=[])
102 list_instance.ChooseOneRemoteInstance(cfg)
[all …]
/tools/acloud/reconnect/
Dreconnect_test.py32 from acloud.list import list as list_instance unknown
344 self.Patch(list_instance, "GetInstancesFromInstanceNames",
346 self.Patch(list_instance, "ChooseInstances",
355 list_instance.GetInstancesFromInstanceNames.assert_called_once()
362 list_instance.ChooseInstances.assert_called_once()
368 self.Patch(list_instance, "ChooseInstances",
Dreconnect.py35 from acloud.list import list as list_instance unknown
243 instances_to_reconnect = list_instance.GetInstancesFromInstanceNames(
246 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
338 active_ins = list_instance.GetActiveCVD(local_instance_id)
768 existing_ins = list_instance.GetActiveCVD(local_instance_id)
785 existing_ins = list_instance.GetActiveCVD(local_instance_id)
Dlocal_image_local_instance_test.py29 from acloud.list import list as list_instance unknown
277 self.Patch(list_instance, "GetActiveCVD",
630 @mock.patch.object(list_instance, "GetActiveCVD")
Davd_spec.py37 from acloud.list import list as list_instance unknown
422 if list_instance.GetInstancesFromInstanceNames(
426 instance = list_instance.ChooseOneRemoteInstance(self._cfg)