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

Unified Diff: tests/gclient_test.py

Issue 113288: Add a flag not print errors in CaptureSVN() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools/
Patch Set: Created 11 years, 7 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 | « gclient.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/gclient_test.py
===================================================================
--- tests/gclient_test.py (revision 15884)
+++ tests/gclient_test.py (working copy)
@@ -1273,7 +1273,8 @@
</entry>
</info>
""" % self.url
- gclient.CaptureSVN(['info', '--xml', self.url], '.').AndReturn(xml_text)
+ gclient.CaptureSVN(['info', '--xml', self.url],
+ '.', True).AndReturn(xml_text)
expected = {
'URL': 'http://src.chromium.org/svn/trunk/src/chrome/app/d',
'UUID': None,
@@ -1286,7 +1287,7 @@
'Node Kind': 'file',
}
self.mox.ReplayAll()
- file_info = self._CaptureSVNInfo(self.url, '.')
+ file_info = self._CaptureSVNInfo(self.url, '.', True)
self.assertEquals(sorted(file_info.items()), sorted(expected.items()))
self.mox.VerifyAll()
@@ -1314,9 +1315,10 @@
</entry>
</info>
""" % (self.url, self.root_dir)
- gclient.CaptureSVN(['info', '--xml', self.url], '.').AndReturn(xml_text)
+ gclient.CaptureSVN(['info', '--xml', self.url],
+ '.', True).AndReturn(xml_text)
self.mox.ReplayAll()
- file_info = self._CaptureSVNInfo(self.url, '.')
+ file_info = self._CaptureSVNInfo(self.url, '.', True)
expected = {
'URL': self.url,
'UUID': '7b9385f5-0452-0410-af26-ad4892b7a1fb',
« no previous file with comments | « gclient.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698