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

Unified Diff: recipe_modules/raw_io/test_api.py

Issue 2672593002: raw_io module: Add text_input and text_output (Closed)
Patch Set: Add comment about no cover Created 3 years, 10 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/raw_io/example.expected/basic.json ('k') | recipe_modules/shutil/api.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_modules/raw_io/test_api.py
diff --git a/recipe_modules/raw_io/test_api.py b/recipe_modules/raw_io/test_api.py
index 858bc945f2f2a46c6e5f3f4d2295bf72979402e8..88bc57a42b24781438d8c266dfc2ed040fdfa2c5 100644
--- a/recipe_modules/raw_io/test_api.py
+++ b/recipe_modules/raw_io/test_api.py
@@ -12,6 +12,11 @@ class RawIOTestApi(recipe_test_api.RecipeTestApi): # pragma: no cover
@recipe_test_api.placeholder_step_data
@staticmethod
+ def output_text(data, retcode=None, name=None):
+ return data, retcode, name
+
+ @recipe_test_api.placeholder_step_data
+ @staticmethod
def output_dir(files_dict, retcode=None, name=None):
assert type(files_dict) is dict
assert all(type(key) is str for key in files_dict.keys())
« no previous file with comments | « recipe_modules/raw_io/example.expected/basic.json ('k') | recipe_modules/shutil/api.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698