commit | 8da725d5417bfe82b28dbac5579603ca8ce99863 | [log] [tgz] |
---|---|---|
author | Anushruth <anushruth@chromium.org> | Thu Mar 18 17:33:01 2021 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Mar 18 17:33:01 2021 |
tree | b0bdc362c905b95cabbf7d139bd79f24e793e40d | |
parent | f6a6799245c7e97bd50d992096acf3ad28ec1fbb [diff] |
[UFS] Fix issue with labstation partial update Bug: none Test: make test Fixes update labstation API to not check for servo updates if the update is partial update. Moves the code to validate labstation lse to labstation.go. Change-Id: I33a67e314005205303d9b60e9d487849efded539 Reviewed-on: https://chromium-review.googlesource.com/c/infra/infra/+/2770042 Reviewed-by: Eshwar Narayan <eshwarn@chromium.org> Commit-Queue: Anushruth <anushruth@chromium.org> Cr-Commit-Position: refs/heads/master@{#39488}
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.