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

Unified Diff: unittests/remote_test.py

Issue 2080343005: Add 'remote' command to replace 'remote_run' (Closed) Base URL: https://github.com/luci/recipes-py.git@master
Patch Set: Created 4 years, 6 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 | « recipes.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: unittests/remote_test.py
diff --git a/unittests/remote_run_test.py b/unittests/remote_test.py
similarity index 87%
copy from unittests/remote_run_test.py
copy to unittests/remote_test.py
index f1b4687616d90dc03d9cf1db6edfc2492808dd8e..5882dd4151268f468d9713162e83d2218c11df59 100755
--- a/unittests/remote_run_test.py
+++ b/unittests/remote_test.py
@@ -10,16 +10,17 @@ import unittest
import repo_test_util
-class RemoteRunTest(repo_test_util.RepoTest):
- def test_basic(self):
+class RemoteTest(repo_test_util.RepoTest):
+ def test_run(self):
repos = self.repo_setup({'a': []})
self.update_recipe_module(repos['a'], 'mod', {'foo': []})
self.update_recipe(repos['a'], 'a_recipe', ['mod'], [('mod', 'foo')])
subprocess.check_output([
sys.executable, self._recipe_tool,
- 'remote_run',
+ 'remote',
'--repository', repos['a']['root'],
'--',
+ 'run',
'a_recipe',
], stderr=subprocess.STDOUT)
« no previous file with comments | « recipes.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698