Home
last modified time | relevance | path

Searched refs:Patch (Results 1 – 8 of 8) sorted by relevance

/tools/acloud/internal/lib/
Dutils_test.py37 self.Patch(os.path, "exists", side_effect=lambda path: path == public_key)
38 self.Patch(subprocess, "check_call")
46 self.Patch(os.path, "exists", return_value=False)
47 self.Patch(subprocess, "check_call")
48 self.Patch(os, "rename")
84 self.Patch(time, "sleep")
Dgcompute_client_test.py51 self.Patch(gcompute_client.ComputeClient, "InitResourceHandle")
133 self.Patch(utils, "PollAndWait")
134 self.Patch(errors, "GceOperationTimeoutError", return_value=mock_error)
152 self.Patch(gcompute_client.ComputeClient, "WaitOnOperation")
174 self.Patch(
178 self.Patch(
182 self.Patch(gcompute_client.ComputeClient, "DeleteImage")
232 self.Patch(gcompute_client.ComputeClient, "WaitOnOperation")
258 self.Patch(apiclient.http, "BatchHttpRequest", return_value=mock_batch)
263 self.Patch(gcompute_client.ComputeClient, "WaitOnOperation")
[all …]
Dgstorage_client_test.py26 self.Patch(gstorage_client.StorageClient, "InitResourceHandle")
45 self.Patch(
69 self.Patch(io, "FileIO", return_value=mock_file_io)
70 self.Patch(
92 self.Patch(io, "FileIO", side_effect=OSError("fake OSError"))
131 self.Patch(
138 self.Patch(
142 self.Patch(time, "sleep")
Dbase_cloud_client_test.py44 self.Patch(base_cloud_client, "build")
58 self.Patch(
91 self.Patch(
98 self.Patch(time, "sleep")
141 self.Patch(time, "sleep")
Dandroid_build_client_test.py43 self.Patch(android_build_client.AndroidBuildClient,
58 self.Patch(io, "FileIO", return_value=mock_file_io)
59 self.Patch(
87 self.Patch(io, "FileIO", side_effect=OSError("fake OSError"))
113 self.Patch(time, "sleep")
Ddriver_test_lib.py35 def Patch(self, *args, **kwargs): member in BaseDriverTest
/tools/acloud/public/
Ddevice_driver_test.py41 self.Patch(android_build_client, "AndroidBuildClient",
44 self.Patch(
47 self.Patch(
51 self.Patch(auth, "CreateCredentials", return_value=mock.MagicMock())
84 self.Patch(uuid, "uuid4", return_value=fake_uuid)
153 self.Patch(device_driver, "datetime")
/tools/acloud/public/acloud_kernel/
Dkernel_swapper_test.py36 self.Patch(auth, 'CreateCredentials', return_value=self.credentials)
38 self.Patch(
42 self.subprocess_call = self.Patch(subprocess, 'check_call')