cipd_upload: Reformat tests
Change-Id: Ibc6d3aaf8f570094c2c0ec938b3dbd2a74995345
Reviewed-on: https://pigweed-review.googlesource.com/c/infra/recipes/+/229236
Pigweed-Auto-Submit: Rob Mohr <mohrr@google.com>
Reviewed-by: Danielle Kay <danikay@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com>
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>
diff --git a/recipe_modules/cipd_upload/tests/full.py b/recipe_modules/cipd_upload/tests/full.py
index 2950e55..e8a429f 100644
--- a/recipe_modules/cipd_upload/tests/full.py
+++ b/recipe_modules/cipd_upload/tests/full.py
@@ -67,21 +67,21 @@
def GenTests(api) -> Generator[recipe_test_api.TestData, None, None]:
"""Define tests."""
- yield (
- api.test('found')
- + api.platform('linux', 64)
- + api.cipd_upload.search_results('foo/bar/baz key:value', instances=1)
+ yield api.test(
+ 'found',
+ api.platform('linux', 64),
+ api.cipd_upload.search_results('foo/bar/baz key:value', instances=1),
)
- yield (
- api.test('upload')
- + api.platform('linux', 64)
- + api.cipd_upload.search_results('foo/bar/baz key:value', instances=0)
+ yield api.test(
+ 'upload',
+ api.platform('linux', 64),
+ api.cipd_upload.search_results('foo/bar/baz key:value', instances=0),
)
- yield (
- api.test('extra_tags')
- + api.properties(extra_tags={'abc': '123'})
- + api.platform('linux', 64)
- + api.cipd_upload.search_results('foo/bar/baz key:value', instances=0)
+ yield api.test(
+ 'extra_tags',
+ api.properties(extra_tags={'abc': '123'}),
+ api.platform('linux', 64),
+ api.cipd_upload.search_results('foo/bar/baz key:value', instances=0),
)