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

Unified Diff: scripts/slave/recipe_modules/path/test_api.py

Issue 985273002: Changed recipe_modules base paths to be abstract entities in their own right. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Rebase Created 5 years, 9 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
Index: scripts/slave/recipe_modules/path/test_api.py
diff --git a/scripts/slave/recipe_modules/path/test_api.py b/scripts/slave/recipe_modules/path/test_api.py
index ba1ec3c172cf4387801da7fc357c84a79e8b264e..5e80bfa09a4a8419ab2c55484e17898c97af0ef4 100644
--- a/scripts/slave/recipe_modules/path/test_api.py
+++ b/scripts/slave/recipe_modules/path/test_api.py
@@ -1,5 +1,5 @@
from slave import recipe_test_api
-from slave.recipe_config_types import Path
+from slave.recipe_config_types import Path, NamedBasePath
class PathTestApi(recipe_test_api.RecipeTestApi):
@recipe_test_api.mod_test_data
@@ -9,7 +9,7 @@ class PathTestApi(recipe_test_api.RecipeTestApi):
return paths
def __getitem__(self, name):
- return Path(name, _bypass=True)
+ return Path(NamedBasePath(name))
def listdir(self, files):
def listdir_callback():

Powered by Google App Engine
This is Rietveld 408576698