Index: scripts/slave/unittests/recipe_lint_test.py |
diff --git a/scripts/slave/unittests/recipe_lint_test.py b/scripts/slave/unittests/recipe_lint_test.py |
index 258cce4d9267dcd2828953cf5bcea4eb747106f8..bb6e82300c428db1736ca69c557b4a499c0acb3e 100755 |
--- a/scripts/slave/unittests/recipe_lint_test.py |
+++ b/scripts/slave/unittests/recipe_lint_test.py |
@@ -9,7 +9,6 @@ import sys |
import test_env # pylint: disable=W0403,W0611 |
from recipe_engine import lint_test |
-from slave import recipe_universe |
MODULES_WHITELIST = [ |
# TODO(luqui): Move skia modules into recipe resources |
@@ -20,5 +19,9 @@ MODULES_WHITELIST = [ |
r'common\.cros_chromite', |
] |
+PACKAGE_PYL = os.path.join( |
+ os.path.dirname(os.path.dirname(os.path.abspath(__file__))), |
+ 'recipe_package.pyl') |
+ |
if __name__ == '__main__': |
- lint_test.main(recipe_universe.get_universe(), whitelist=MODULES_WHITELIST) |
+ lint_test.main(PACKAGE_PYL, whitelist=MODULES_WHITELIST) |