Index: recipe_modules/tempfile/example.py |
diff --git a/recipe_modules/uuid/example.py b/recipe_modules/tempfile/example.py |
similarity index 55% |
copy from recipe_modules/uuid/example.py |
copy to recipe_modules/tempfile/example.py |
index 862cf20d53b59df82490286257f5a6234c9ea4ef..e370be7bc747e14eaa8d0d76189012688151b260 100644 |
--- a/recipe_modules/uuid/example.py |
+++ b/recipe_modules/tempfile/example.py |
@@ -1,16 +1,14 @@ |
-# Copyright 2014 The Chromium Authors. All rights reserved. |
+# 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. |
DEPS = [ |
- 'step', |
- 'uuid', |
+ 'tempfile', |
] |
- |
def RunSteps(api): |
- uuid = api.uuid.random() |
- api.step('echo', ['echo', str(uuid)]) |
+ with api.tempfile.temp_dir('foo'): |
+ pass |
def GenTests(api): |