Lines Matching refs:client
48 self.client = android_build_client.AndroidBuildClient(mock.MagicMock())
49 self.client._service = mock.MagicMock()
68 self.client._service.buildartifact = mock.MagicMock(
72 self.client.DownloadArtifact(self.BUILD_TARGET, self.BUILD_ID,
92 self.assertRaises(errors.DriverError, self.client.DownloadArtifact,
99 self.client._service.buildartifact = mock.MagicMock(
101 self.client.CopyTo(
110 attemptId=self.client.DEFAULT_ATTEMPT_ID,
121 self.client._service.buildartifact.return_value = mock_resource
126 self.client.CopyTo,
140 self.client._service.build = mock.MagicMock(return_value=mock_build)
142 branch = self.client.GetBranch(self.BUILD_TARGET, self.BUILD_ID)
154 self.client._service.build = mock.MagicMock(return_value=mock_build)
156 build_id = self.client.GetLKGB(self.BUILD_TARGET, self.BUILD_BRANCH)
160 buildAttemptStatus=self.client.BUILD_STATUS_COMPLETE,
161 buildType=self.client.BUILD_TYPE_SUBMITTED,
162 maxResults=self.client.ONE_RESULT,
163 successful=self.client.BUILD_SUCCESSFUL)