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

Unified Diff: recipe_modules/infra_paths/api.py

Issue 1924583002: Revert of depot_tools: add test_api to infra_paths recipe module (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 4 years, 8 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 | « no previous file | recipe_modules/infra_paths/example.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_modules/infra_paths/api.py
diff --git a/recipe_modules/infra_paths/api.py b/recipe_modules/infra_paths/api.py
index 1b902826f1138bce66defc1c86bc74f91d964835..c84928c4fa8f375a296da139ba5f6ca2a848c9f8 100644
--- a/recipe_modules/infra_paths/api.py
+++ b/recipe_modules/infra_paths/api.py
@@ -3,7 +3,6 @@
# found in the LICENSE file.
from recipe_engine import recipe_api
-from recipe_engine.config_types import Path, NamedBasePath
class InfraPathsApi(recipe_api.RecipeApi):
@@ -29,10 +28,6 @@
else:
self.set_config('buildbot')
- for path in self._test_data.get('exists', []):
- assert isinstance(path.base, NamedBasePath)
- self.m.path.mock_add_paths(self[path.base.name].join(*path.pieces))
-
def __getitem__(self, name):
self._lazy_set_config()
return self.c.paths[name]
« no previous file with comments | « no previous file | recipe_modules/infra_paths/example.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698