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

Unified Diff: scripts/slave/recipe_modules/python/example.py

Issue 1241323004: Cross-repo recipe package system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Roll to latest recipes-py Created 5 years, 3 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
Index: scripts/slave/recipe_modules/python/example.py
diff --git a/scripts/slave/recipe_modules/python/example.py b/scripts/slave/recipe_modules/python/example.py
deleted file mode 100644
index ec3b1ba4048f4a39a5ad88044585164e9dd878bc..0000000000000000000000000000000000000000
--- a/scripts/slave/recipe_modules/python/example.py
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 2015 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.
-
-"""Launches the repo bundler."""
-
-DEPS = [
- 'python',
- 'step',
-]
-
-
-def RunSteps(api):
- api.python.succeeding_step("success", ["This step is a success"],
- as_log='success')
-
- # Test that a failing step raises StepFailure.
- was_failure = False
- try:
- api.python.failing_step("failure", "This step is a failure :(")
- except api.step.StepFailure:
- was_failure = True
- assert was_failure
-
-
-def GenTests(api):
- yield api.test('basic')
« no previous file with comments | « scripts/slave/recipe_modules/python/api.py ('k') | scripts/slave/recipe_modules/python/example.expected/basic.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698