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

Unified Diff: scripts/slave/recipe_modules/auto_bisect/bisector_test.py

Issue 1111413005: Some changes to allow recipes and modules to live noncentrally (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Review comments Created 5 years, 7 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 | « scripts/slave/recipe_modules/__init__.py ('k') | scripts/slave/recipe_modules/bot_update/api.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/auto_bisect/bisector_test.py
diff --git a/scripts/slave/recipe_modules/auto_bisect/bisector_test.py b/scripts/slave/recipe_modules/auto_bisect/bisector_test.py
index 26889b6f54d061c4512a5ffc02882d15348040ca..183992e199c15928ef950a144f3b830e70280db3 100644
--- a/scripts/slave/recipe_modules/auto_bisect/bisector_test.py
+++ b/scripts/slave/recipe_modules/auto_bisect/bisector_test.py
@@ -7,17 +7,15 @@ import sys
import unittest
# TODO(robertocn): Use abspath for these, to prevent relative path errors.
-_RECIPE_MODULES_DIR = os.path.join(os.path.dirname(__file__), os.path.pardir)
# For the importing of mock.
_ROOT_DIR = os.path.join(os.path.dirname(__file__), os.path.pardir,
os.path.pardir, os.path.pardir, os.path.pardir)
-sys.path.append(_RECIPE_MODULES_DIR)
sys.path.append(os.path.join(_ROOT_DIR, 'third_party', 'mock-1.0.1'))
import mock
-from auto_bisect.bisector import Bisector
+from .bisector import Bisector
class MockRevisionClass(object): # pragma: no cover
« no previous file with comments | « scripts/slave/recipe_modules/__init__.py ('k') | scripts/slave/recipe_modules/bot_update/api.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698