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

Unified Diff: recipe_modules/infra_paths/test_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 | « recipe_modules/infra_paths/example.expected/win.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_modules/infra_paths/test_api.py
diff --git a/recipe_modules/infra_paths/test_api.py b/recipe_modules/infra_paths/test_api.py
deleted file mode 100644
index a5bbb9ae4ea9926ff482e74b6ce587cead12e4b8..0000000000000000000000000000000000000000
--- a/recipe_modules/infra_paths/test_api.py
+++ /dev/null
@@ -1,16 +0,0 @@
-# Copyright 2016 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
-from recipe_engine.config_types import Path, NamedBasePath
-
-class InfraPathsTestApi(recipe_test_api.RecipeTestApi):
- @recipe_test_api.mod_test_data
- @staticmethod
- def exists(*paths):
- assert all(isinstance(p, Path) for p in paths)
- return paths
-
- def __getitem__(self, name):
- return Path(NamedBasePath(name))
« no previous file with comments | « recipe_modules/infra_paths/example.expected/win.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698