Index: scripts/slave/recipe_modules/uuid/example.py |
diff --git a/scripts/slave/recipe_modules/uuid/example.py b/scripts/slave/recipe_modules/uuid/example.py |
new file mode 100644 |
index 0000000000000000000000000000000000000000..862cf20d53b59df82490286257f5a6234c9ea4ef |
--- /dev/null |
+++ b/scripts/slave/recipe_modules/uuid/example.py |
@@ -0,0 +1,17 @@ |
+# 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 = [ |
+ 'step', |
+ 'uuid', |
+] |
+ |
+ |
+def RunSteps(api): |
+ uuid = api.uuid.random() |
+ api.step('echo', ['echo', str(uuid)]) |
+ |
+ |
+def GenTests(api): |
+ yield api.test('basic') |