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

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

Issue 2692233002: [WPT Export] Fix cwd on run_command calls in ChromiumCommit (Closed)
Patch Set: Strictly assert that SHA-1 hash was passed to ChromiumCommit Created 3 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
Index: third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_exporter_unittest.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_exporter_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_exporter_unittest.py
index a20ba5440ccb4e24a7a3c3c15b928648bc7dc7dd..c31ec6e20685926122c55e961201a88702e379d3 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_exporter_unittest.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_exporter_unittest.py
@@ -53,13 +53,14 @@ class TestExporterTest(unittest.TestCase):
def mock_command(args):
canned_git_outputs = {
- 'show': 'newer fake text' if 'cafedad5' in args else 'older fake text',
- 'rev-list': 'facebeef\ncafedad5',
+ 'show': 'newer fake text' if 'add087a97844f4b9e307d9a216940582d96db306' in args else 'older fake text',
+ 'rev-list': 'c881563d734a86f7d9cd57ac509653a61c45c240\nadd087a97844f4b9e307d9a216940582d96db306',
'footers': 'fake-cr-position',
'remote': 'github',
'format-patch': 'fake patch',
'diff': 'fake patch diff',
'diff-tree': 'fake\n\files\nchanged',
+ 'crrev-parse': 'c881563d734a86f7d9cd57ac509653a61c45c240',
}
return canned_git_outputs.get(args[1], '')

Powered by Google App Engine
This is Rietveld 408576698