commit | e5a2c66930a3bc6755d8f055f5763206c177e2a9 | [log] [tgz] |
---|---|---|
author | Quang Minh Tuan Nguyen <nqmtuan@google.com> | Fri Jan 15 04:36:08 2021 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jan 15 04:36:08 2021 |
tree | fe3312643689ce5b1689461369a476550b925c02 | |
parent | ce2164be396175295d6dad1d364aef1fa7fe3562 [diff] |
[Findit][Isolate] Have option to use resultdb for _GetTestLevelLogForAStep - Add use_resultdb flag to _GetTestLevelLogForAStep - Add tests Bug: 981066 Change-Id: I8f701a7933802bc96cdf3665237182db2f5da5fd Reviewed-on: https://chromium-review.googlesource.com/c/infra/infra/+/2631768 Commit-Queue: Quang Minh Tuan Nguyen <nqmtuan@google.com> Reviewed-by: Chan Li <chanli@chromium.org> Cr-Commit-Position: refs/heads/master@{#37677}
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.