commit | 27cbaa1399b21c1b24d44f1849b7123eb8af4e57 | [log] [tgz] |
---|---|---|
author | Jason Stanko <jstanko@google.com> | Tue Jun 11 17:39:22 2024 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jun 11 17:39:22 2024 |
tree | c9cff839612c36f63210ea6f6090d929088d71e4 | |
parent | b5ac17ee34564a0d05ed27795cd5a475cd0d3672 [diff] |
skylab-lib: Expose cellular_connection_state to swarming BUG=b:187887551 TEST=cd ~/infra/go/src/infra/libs/skylab/inventory/ && \ go generate && go test Change-Id: Ib99935e7d5d4e746f20834a4b8c792c4b0b4545f Reviewed-on: https://chromium-review.googlesource.com/c/infra/infra/+/5589607 Reviewed-by: Otabek Kasimov <otabek@google.com> Commit-Queue: Jason Stanko <jstanko@google.com> Cr-Commit-Position: refs/heads/main@{#66127}
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>:deployed
git 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.