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

Unified Diff: recipe_modules/tryserver/test_api.py

Issue 1651033004: depot_tools: import bot_update gclient git rietveld tryserver recipe modules (reland #1) (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: 80cols Created 4 years, 11 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
« no previous file with comments | « recipe_modules/tryserver/example.expected/with_wrong_patch.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_modules/tryserver/test_api.py
diff --git a/recipe_modules/tryserver/test_api.py b/recipe_modules/tryserver/test_api.py
new file mode 100644
index 0000000000000000000000000000000000000000..1bb8e0dcf5ae22cd3ccacc03664413297b7b5183
--- /dev/null
+++ b/recipe_modules/tryserver/test_api.py
@@ -0,0 +1,7 @@
+from recipe_engine import recipe_test_api
+
+class TryserverTestApi(recipe_test_api.RecipeTestApi):
+ def patch_content(self):
+ return self.m.raw_io.output(
+ 'fake patch.diff content (line 1)\n'
+ 'fake patch.diff content (line 2)\n')
« no previous file with comments | « recipe_modules/tryserver/example.expected/with_wrong_patch.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698