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

Unified Diff: tests/git_cl_test.py

Issue 23250002: Split generic subcommand code off its own module. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: typo Created 7 years, 4 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
« subcommand.py ('K') | « subcommand.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/git_cl_test.py
diff --git a/tests/git_cl_test.py b/tests/git_cl_test.py
index 270457d4a54a0f20669964a900ee1863ce3f1ec6..0d76c3f6ba7a6dfc2ed2f307b04af34da47f5da8 100755
--- a/tests/git_cl_test.py
+++ b/tests/git_cl_test.py
@@ -18,6 +18,9 @@ from testing_support.auto_stub import TestCase
import git_cl
import subprocess2
+# Make submodule be able to find the commands.
+git_cl.subcommand.MAIN_MODULE = git_cl
+
class PresubmitMock(object):
def __init__(self, *args, **kwargs):
« subcommand.py ('K') | « subcommand.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698