commit | ebc4d5d8f628d9ce511a86f0231895292fabd94d | [log] [tgz] |
---|---|---|
author | Allen Xie <zhihuixie@google.com> | Fri Apr 26 10:33:10 2024 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Apr 26 10:33:10 2024 |
tree | 57ea68cad68bc36c71621c3c75ebfe69609b2ca3 | |
parent | 5e53138518f2f23c232ed212d646f3c4ac65c17d [diff] |
cros-publish: upload bug_id to RDB Bug: b:322496630 Test: unit tests Change-Id: I0496ee2768d0163983f9ead7d21f2056ef289824 Reviewed-on: https://chromium-review.googlesource.com/c/infra/infra/+/5475084 Commit-Queue: Zhihui Xie <zhihuixie@google.com> Reviewed-by: Jason Kusuma <jkusuma@google.com> Cr-Commit-Position: refs/heads/main@{#64832}
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.