| commit | c94d5f5baf0a6328c80d6720e994c329d3167521 | [log] [tgz] |
|---|---|---|
| author | Anushruth <anushruth@google.com> | Wed Jan 21 22:49:38 2026 |
| committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jan 21 22:49:38 2026 |
| tree | 28a32a6059010d377803fed2ba3ddd9b66a3c37e | |
| parent | 2e67732d9ec4483fb0cf9e22219ae30cffd46aa7 [diff] |
[fleetconsole] Use an intermediate interface to UFS client This patch replaces the references to UFS client with an intermediate interface that only lists the APIs needed. This ensures that UFS code changes don't break the mock implementations here. It also ensures that we only implement mocks to the functions that we need and not everything. go/gotip/episodes/78 Change-Id: I358260dbe4deffa2fa41c68eaa24533515522348 Reviewed-on: https://chromium-review.googlesource.com/c/infra/infra/+/7506564 Reviewed-by: Gregory Nisbet <gregorynisbet@google.com> Commit-Queue: Anushruth Sasivehalli <anushruth@chromium.org> Cr-Commit-Position: refs/heads/main@{#78550}
Welcome to the Chrome Infra repository!
Wondering where to start? Check out General Chrome Infrastructure documentation. In particular, to check out this repo and the rest of the infrastructure code, follow the instructions here. The rest of this page is specific to this repo.
sys.path modifications.git push origin <updated hash>:deployedgit push commandIf you've added a new module, run your tests with test.py:
*_test.py files to this directory.Double-check that your tests are getting picked up when you want them to be: ./test.py test <path-to-package>.
Tests still not getting picked up by test.py? Double-check to make sure you have __init__.py files in each directory of your module so Python recognizes it as a package.
The preferred style is PEP8 with two-space indent; that is, the Chromium Python style, except functions use lowercase_with_underscores. Use yapf (git cl format) to autoformat new code.