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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/w3c/wpt_github_mock.py

Issue 2608923002: [WPT Export] Delete remote branch, add label, additional refactoring (Closed)
Patch Set: Address CL feedback Created 3 years, 11 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 | « third_party/WebKit/Tools/Scripts/webkitpy/w3c/wpt_github.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Tools/Scripts/webkitpy/w3c/wpt_github_mock.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/w3c/wpt_github_mock.py b/third_party/WebKit/Tools/Scripts/webkitpy/w3c/wpt_github_mock.py
index 3f78dc7a89a4c80dada297626a1290c38429c6e4..e4dfec27dfdc4afac031bb6625bd62ad0cbe512c 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/w3c/wpt_github_mock.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/w3c/wpt_github_mock.py
@@ -15,13 +15,16 @@ class MockWPTGitHub(object):
if self.unsuccessful_merge:
raise Exception('PR could not be merged: %d' % number)
- def create_pr(self, local_branch_name, desc_title, body):
+ def create_pr(self, remote_branch_name, desc_title, body):
self.calls.append('create_pr')
- assert local_branch_name
+ assert remote_branch_name
assert desc_title
assert body
- self.pull_requests_created.append((local_branch_name, desc_title, body))
+ self.pull_requests_created.append((remote_branch_name, desc_title, body))
return {}
+
+ def delete_remote_branch(self, _):
+ self.calls.append('delete_remote_branch')
« no previous file with comments | « third_party/WebKit/Tools/Scripts/webkitpy/w3c/wpt_github.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698