commit | 611246115c259918c8845ce839ad30993891078d | [log] [tgz] |
---|---|---|
author | Gregory NISBET <gregorynisbet@google.com> | Sun Oct 20 04:45:45 2024 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sun Oct 20 04:45:45 2024 |
tree | 9625dd16d16b797131a4399db1f48b65e039e80f | |
parent | b573a7087fab5dfdcf351351eba368be98b35677 [diff] |
[ftt] rewrite tricium/functions/mojom-commentator/commentator_test.go This CL is part of the GoConvey -> Truth/FTT migration (go/noconvey-psa). For more information see: 1. go/noconvey-psa 2. go/noconvey-migration 3. go/noconvey-proposal Bug: 319730573 Change-Id: I459686205c58494783c0abf387ab58447692736b Reviewed-on: https://chromium-review.googlesource.com/c/infra/infra/+/5940260 Auto-Submit: Gregory Nisbet <gregorynisbet@google.com> Reviewed-by: Robbie Iannucci <iannucci@chromium.org> Commit-Queue: Robbie Iannucci <iannucci@chromium.org> Cr-Commit-Position: refs/heads/main@{#69250}
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.