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

Unified Diff: tests/scm_unittest.py

Issue 6799021: Switch from xml.dom.minidom to xml.etree (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 9 years, 8 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
« rietveld.py ('K') | « tests/gclient_utils_test.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/scm_unittest.py
diff --git a/tests/scm_unittest.py b/tests/scm_unittest.py
index 1c214267c1935a9523c2e139d04eaa3ada5c8ef3..21150f3ff8e7053bfa7ca6b78fb622a75fe08c27 100755
--- a/tests/scm_unittest.py
+++ b/tests/scm_unittest.py
@@ -42,10 +42,10 @@ class RootTestCase(BaseSCMTestCase):
def testMembersChanged(self):
self.mox.ReplayAll()
members = [
- 'GetCasedPath', 'GenFakeDiff', 'GIT', 'SVN', 'ValidateEmail',
+ 'ElementTree', 'GetCasedPath', 'GenFakeDiff', 'GIT', 'SVN',
+ 'ValidateEmail',
'cStringIO', 'determine_scm', 'gclient_utils', 'glob', 'logging', 'os',
're', 'shutil', 'subprocess', 'subprocess2', 'sys', 'tempfile', 'time',
- 'xml',
]
# If this test fails, you should add the relevant test.
self.compareMembers(scm, members)
@@ -104,6 +104,7 @@ class SVNTestCase(BaseSCMTestCase):
self.mox.StubOutWithMock(scm, 'GetCasedPath')
scm.os.path.abspath = lambda x: x
scm.GetCasedPath = lambda x: x
+ # pylint: disable=E1103
scm.SVN.CaptureInfo(self.root_dir + '/foo/bar').AndReturn({
'Repository Root': 'svn://svn.chromium.org/chrome',
'URL': 'svn://svn.chromium.org/chrome/trunk/src',
« rietveld.py ('K') | « tests/gclient_utils_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698