diff options
author | Eric Boren <borenet@google.com> | 2016-12-12 08:41:34 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2016-12-13 12:53:00 +0000 |
commit | 3b3bdafa8e3ac9421d895b1b978a148ed010de71 (patch) | |
tree | cb0a325df6ea1e5ed95911c0bc1c28c925144ae1 /infra/bots/recipe_modules/builder_name_schema/builder_name_schema.py | |
parent | b399e38518c7c28e94579ce382e64fdf0697a7e9 (diff) |
Delete swarm_trigger recipe
Delete no-longer-used parts of swarming module and add "pragma: no
cover" where applicable.
BUG=skia:
Change-Id: I0f516d7be520a4d4b4efbfa97bd383a5f124e713
Reviewed-on: https://skia-review.googlesource.com/5790
Reviewed-by: Ravi Mistry <rmistry@google.com>
Commit-Queue: Eric Boren <borenet@google.com>
Diffstat (limited to 'infra/bots/recipe_modules/builder_name_schema/builder_name_schema.py')
-rw-r--r-- | infra/bots/recipe_modules/builder_name_schema/builder_name_schema.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/infra/bots/recipe_modules/builder_name_schema/builder_name_schema.py b/infra/bots/recipe_modules/builder_name_schema/builder_name_schema.py index 125a51061e..8319789154 100644 --- a/infra/bots/recipe_modules/builder_name_schema/builder_name_schema.py +++ b/infra/bots/recipe_modules/builder_name_schema/builder_name_schema.py @@ -79,7 +79,8 @@ def _LoadSchema(): _LoadSchema() -def MakeBuilderName(role, extra_config=None, is_trybot=False, **kwargs): +def MakeBuilderName(role, extra_config=None, is_trybot=False, + **kwargs): # pragma: no cover schema = BUILDER_NAME_SCHEMA.get(role) if not schema: # pragma: no cover raise ValueError('%s is not a recognized role.' % role) @@ -100,7 +101,7 @@ def MakeBuilderName(role, extra_config=None, is_trybot=False, **kwargs): return BUILDER_NAME_SEP.join(name_parts) -def IsTrybot(builder_name): +def IsTrybot(builder_name): # pragma: no cover """ Returns true if builder_name refers to a trybot (as opposed to a waterfall bot). """ return builder_name.endswith(TRYBOT_NAME_SUFFIX) |