Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(232)

Unified Diff: scripts/slave/recipe_modules/recipe_tryjob/test_api.py

Issue 2240303002: Reland of moving old recipe code (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « scripts/slave/recipe_modules/recipe_tryjob/api.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/recipe_tryjob/test_api.py
diff --git a/scripts/slave/recipe_modules/recipe_tryjob/test_api.py b/scripts/slave/recipe_modules/recipe_tryjob/test_api.py
deleted file mode 100644
index 7d7c5d49be06e307eab511bb2bf260eda0db0a48..0000000000000000000000000000000000000000
--- a/scripts/slave/recipe_modules/recipe_tryjob/test_api.py
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 2016 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-from recipe_engine import recipe_test_api
-
-
-class RecipeTryjobTestApi(recipe_test_api.RecipeTestApi):
- def make_recipe_config(self, name, deps=None):
- if not deps:
- deps = []
-
- # Deps should be a list of project ids
- config = [
- 'api_version: 1',
- 'project_id: "%s"' % name,
- 'recipes_path: ""',
- '',
- ]
- for dep in deps:
- config += [
- 'deps {',
- ' project_id: "%s"' % dep,
- ' url: "https://repo.url/foo.git"',
- ' branch: "master"',
- ' revision: "deadbeef"',
- '}',
- ]
- return '\n'.join(config)
« no previous file with comments | « scripts/slave/recipe_modules/recipe_tryjob/api.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698