Index: scripts/slave/recipe_modules/time/test_api.py |
diff --git a/scripts/slave/recipe_modules/time/test_api.py b/scripts/slave/recipe_modules/time/test_api.py |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d97dc4e213baeaee107b962fb4f97aafaa9f9dfb |
--- /dev/null |
+++ b/scripts/slave/recipe_modules/time/test_api.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. |
+ |
+from recipe_engine import recipe_test_api |
+ |
+class TimeTestApi(recipe_test_api.RecipeTestApi): |
+ @recipe_test_api.mod_test_data |
+ @staticmethod |
+ def seed(now): |
+ return now |
+ |
+ @recipe_test_api.mod_test_data |
+ @staticmethod |
+ def step(step): |
+ return step |