From 3b3bdafa8e3ac9421d895b1b978a148ed010de71 Mon Sep 17 00:00:00 2001 From: Eric Boren Date: Mon, 12 Dec 2016 08:41:34 -0500 Subject: 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 Commit-Queue: Eric Boren --- infra/bots/recipe_modules/builder_name_schema/builder_name_schema.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'infra/bots/recipe_modules/builder_name_schema/builder_name_schema.py') 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) -- cgit v1.2.3