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

Unified Diff: mojo/tools/run_mojo_python_bindings_tests.py

Issue 707893005: Add mojo/tools/mopy with paths and version utilities (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
Index: mojo/tools/run_mojo_python_bindings_tests.py
diff --git a/mojo/tools/run_mojo_python_bindings_tests.py b/mojo/tools/run_mojo_python_bindings_tests.py
index 916c68d8754e53a956863787bdc5b0c050916667..d64f49cd1159f8de20dade1a5462f3cdd95aac24 100755
--- a/mojo/tools/run_mojo_python_bindings_tests.py
+++ b/mojo/tools/run_mojo_python_bindings_tests.py
@@ -6,14 +6,10 @@
import os
import sys
-_script_dir = os.path.dirname(os.path.abspath(__file__))
-sys.path.insert(0, os.path.join(_script_dir, "pylib"))
-
-from mojo_python_tests_runner import MojoPythonTestRunner
+from mopy.mojo_python_tests_runner import MojoPythonTestRunner
class PythonBindingsTestRunner(MojoPythonTestRunner):
-
def add_custom_commandline_options(self, parser):
parser.add_argument('--build-dir', action='store',
help='path to the build output directory')

Powered by Google App Engine
This is Rietveld 408576698