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

Unified Diff: tests/scm_unittest.py

Issue 6250177: Move reverting code from gclient_scm to scm to be able to reuse the code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Fix presubmit check Created 9 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
« no previous file with comments | « scm.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 9d71d245ff150fe483e3566a1775b3545f48b0b7..7a3cbbb29d22e3368ecc9d8836710de4813ed40e 100755
--- a/tests/scm_unittest.py
+++ b/tests/scm_unittest.py
@@ -38,7 +38,7 @@ class RootTestCase(BaseSCMTestCase):
self.mox.ReplayAll()
members = [
'GetCasedPath', 'GenFakeDiff', 'GIT', 'SVN', 'ValidateEmail',
- 'cStringIO', 'gclient_utils', 'glob', 'os', 're', 'shutil',
+ 'cStringIO', 'gclient_utils', 'glob', 'logging', 'os', 're', 'shutil',
'subprocess', 'sys', 'tempfile', 'time', 'xml',
]
# If this test fails, you should add the relevant test.
@@ -77,7 +77,7 @@ class SVNTestCase(BaseSCMTestCase):
'AssertVersion', 'Capture', 'CaptureRevision', 'CaptureInfo',
'CaptureStatus', 'current_version', 'DiffItem', 'GenerateDiff',
'GetCheckoutRoot', 'GetEmail', 'GetFileProperty', 'IsMoved',
- 'IsMovedInfo', 'ReadSimpleAuth', 'RunAndGetFileList',
+ 'IsMovedInfo', 'ReadSimpleAuth', 'Revert', 'RunAndGetFileList',
]
# If this test fails, you should add the relevant test.
self.compareMembers(scm.SVN, members)
« no previous file with comments | « scm.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698