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

Unified Diff: tests/gcl_unittest.py

Issue 12300005: Fix parameters for git_cl and gcl (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Fix unittest too Created 7 years, 10 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 | « git_cl.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/gcl_unittest.py
diff --git a/tests/gcl_unittest.py b/tests/gcl_unittest.py
index 77cc56fb225e0ebeb224b7c8c3dff8215a28a7e6..ddaab3a82b481b5ba51aaaa09c25ff61ee6aa2ff 100755
--- a/tests/gcl_unittest.py
+++ b/tests/gcl_unittest.py
@@ -59,7 +59,8 @@ class GclTestsBase(SuperMoxTestBase):
change_info._comments_added = []
class RpcServer(object):
- def get_issue_properties(self, *_): # pylint: disable=R0201
+ # pylint: disable=R0201,W0613
+ def get_issue_properties(self, issue, messages):
return { 'patchsets': [1337] }
change_info.RpcServer = RpcServer
« no previous file with comments | « git_cl.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698