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

Unified Diff: third_party/recipe_engine/unittests/field_composer_test.py

Issue 1151423002: Move recipe engine to third_party/recipe_engine. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Moved field_composer_test with its buddies 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 | « third_party/recipe_engine/third_party/annotator.py ('k') | third_party/recipe_engine/util.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/recipe_engine/unittests/field_composer_test.py
diff --git a/scripts/slave/unittests/field_composer_test.py b/third_party/recipe_engine/unittests/field_composer_test.py
similarity index 94%
rename from scripts/slave/unittests/field_composer_test.py
rename to third_party/recipe_engine/unittests/field_composer_test.py
index 07f9a87436cd1a6e980671fecb79a4d387e18631..6ae5408788cbbf1d04ed5bcb6a45045e07b34041 100755
--- a/scripts/slave/unittests/field_composer_test.py
+++ b/third_party/recipe_engine/unittests/field_composer_test.py
@@ -5,12 +5,14 @@
import os
import shutil
+import sys
import tempfile
import unittest
-import test_env # pylint: disable=W0403,W0611
-import sys
-from slave import field_composer
+sys.path.append(os.path.dirname(os.path.dirname(os.path.dirname(
+ os.path.abspath(__file__)))))
+
+from recipe_engine import field_composer
# Functors are compared by reference.
« no previous file with comments | « third_party/recipe_engine/third_party/annotator.py ('k') | third_party/recipe_engine/util.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698