Index: infra/recipe_modules/rietveld/example.py |
diff --git a/infra/recipe_modules/rietveld/example.py b/infra/recipe_modules/rietveld/example.py |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f938fc1afce318d00eaff348819a559a38a74bc1 |
--- /dev/null |
+++ b/infra/recipe_modules/rietveld/example.py |
@@ -0,0 +1,16 @@ |
+# Copyright 2014 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. |
+ |
+DEPS = [ |
+ 'recipe_engine/path', |
+ 'rietveld', |
+] |
+ |
+def RunSteps(api): |
+ api.path['checkout'] = api.path['slave_build'] |
+ api.rietveld.calculate_issue_root({'project': ['']}) |
+ |
+ |
+def GenTests(api): |
+ yield api.test('basic') |