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

Unified Diff: depot_tools/tests/presubmit_unittest.py

Issue 268023: This makes presubmit queries accept "yes" as well as "y" (Closed) Base URL: svn://chrome-svn/chrome/trunk/tools/
Patch Set: '' Created 11 years, 2 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 | « depot_tools/presubmit_support.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: depot_tools/tests/presubmit_unittest.py
===================================================================
--- depot_tools/tests/presubmit_unittest.py (revision 28422)
+++ depot_tools/tests/presubmit_unittest.py (working copy)
@@ -78,15 +78,16 @@
self.mox.ReplayAll()
members = [
'AffectedFile', 'Change', 'DoGetTrySlaves', 'DoPresubmitChecks',
- 'GetTrySlavesExecuter', 'GitChange', 'GitAffectedFile', 'InputApi',
- 'ListRelevantPresubmitFiles', 'Main', 'NotImplementedException',
- 'OutputApi', 'ParseFiles', 'PresubmitExecuter', 'ScanSubDirs',
- 'SvnAffectedFile', 'SvnChange',
- 'cPickle', 'cStringIO', 'exceptions',
- 'fnmatch', 'gcl', 'gclient_scm', 'glob', 'logging', 'marshal', 'normpath',
- 'optparse', 'os', 'pickle',
- 'presubmit_canned_checks', 'random', 're', 'subprocess', 'sys', 'time',
- 'tempfile', 'traceback', 'types', 'unittest', 'urllib2', 'warnings',
+ 'GetTrySlavesExecuter', 'GitAffectedFile', 'GitChange',
+ 'InputApi', 'ListRelevantPresubmitFiles', 'Main',
+ 'NotImplementedException', 'OutputApi', 'ParseFiles',
+ 'PresubmitExecuter', 'PromptYesNo', 'ScanSubDirs',
+ 'SvnAffectedFile', 'SvnChange', 'cPickle', 'cStringIO',
+ 'exceptions', 'fnmatch', 'gcl', 'gclient_scm', 'glob',
+ 'logging', 'marshal', 'normpath', 'optparse', 'os', 'pickle',
+ 'presubmit_canned_checks', 'random', 're', 'subprocess', 'sys',
+ 'tempfile', 'time', 'traceback', 'types', 'unittest', 'urllib2',
+ 'warnings',
]
# If this test fails, you should add the relevant test.
self.compareMembers(presubmit, members)
« no previous file with comments | « depot_tools/presubmit_support.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698