commit | 961b08615882b17a58717c59e160d79c97836f86 | [log] [tgz] |
---|---|---|
author | Xixuan Wu <xixuan@google.com> | Wed Dec 30 21:40:36 2020 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Dec 30 21:40:36 2020 |
tree | 55953d1ce453d80dfd14c78726f9d62e5c274598 | |
parent | a60337c2f596b0553caaae70e9eed87ca50ea575 [diff] |
Inventory V2: modify boxster config parser Also clean up the testing jsonproto to remove some unnecessary configs New diff file: https://storage.cloud.google.com/cros-lab-inventory-dev.appspot.com/device_config_diff/2020-12-29T11:12:20.log BUG=chromium:1073663 TEST=make test; run cron job Change-Id: I40e5cd7745fce3b7d8aeaa2b668b8a00ee88bd87 Reviewed-on: https://chromium-review.googlesource.com/c/infra/infra/+/2604300 Commit-Queue: Xixuan Wu <xixuan@chromium.org> Reviewed-by: Sean McAllister <smcallis@google.com> Cr-Commit-Position: refs/heads/master@{#37267}
Testing 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.from infra.path_hacks.common import <stg>
is actually getting <stg>
from build/scripts/common.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.