commit | 9f5185738f8d47ffd81cf020e157833720b77056 | [log] [tgz] |
---|---|---|
author | Anushruth <anushruth@chromium.org> | Tue Apr 06 18:54:51 2021 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Apr 06 18:54:51 2021 |
tree | e217da322130a7d017305514bdf1eb63332e6ad5 | |
parent | b8b18994f34f780be3f492898b56ecf8fe7262ee [diff] |
[IV2]: Deprecate API in conflict with UFS Bug: 1184794 Test: make test Removes the following API and affected tests from the service. Will return an error pointing towards shivas/UFS. 1. AddCrosDevices 2. UpdateCrosDevicesSetup 3. UpdateLabstations 4. DeleteCrosDevices 5. UpdateAssets 6. BatchUpdateDevices 7. DeleteAssets 8. GetAssets 9. UpdateAssets Change-Id: Iae3996a4d4985382412eff9fe154d0044dd657dc Reviewed-on: https://chromium-review.googlesource.com/c/infra/infra/+/2785489 Reviewed-by: Eshwar Narayan <eshwarn@chromium.org> Commit-Queue: Anushruth <anushruth@chromium.org> Cr-Commit-Position: refs/heads/master@{#39943}
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.