commit | de5a2c055d476fbf8f4eef3e584ef3d614cd5ea2 | [log] [tgz] |
---|---|---|
author | Matthew Warton <mwarton@google.com> | Fri Sep 22 08:50:52 2023 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Sep 22 08:50:52 2023 |
tree | fc5b327d1502df7f46b4960dc17d15f63fa0182e | |
parent | f6397ed545e127d6924c5f5353b4a97f178f455e [diff] |
som: modify UI to make it clear when there is a pre-existing test bug instead of just a suggested cluster. Change-Id: I0d175cc6d3f648f1438a5dd120742f6b9ab3b87e Reviewed-on: https://chromium-review.googlesource.com/c/infra/infra/+/4885751 Auto-Submit: Matthew Warton <mwarton@google.com> Reviewed-by: Kuan Huang <kuanhuang@google.com> Commit-Queue: Matthew Warton <mwarton@google.com> Cr-Commit-Position: refs/heads/main@{#59928}
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.