Chromium Code Reviews| Index: tests/gclient_scm_test.py |
| =================================================================== |
| --- tests/gclient_scm_test.py (revision 108803) |
| +++ tests/gclient_scm_test.py (working copy) |
| @@ -84,12 +84,22 @@ |
| self.url = self.SvnUrl() |
| def testDir(self): |
| - members = [ |
| - 'FullUrlForRelativeUrl', 'GetRevisionDate', 'RunCommand', |
| - 'cleanup', 'diff', 'pack', 'relpath', 'revert', |
| - 'revinfo', 'runhooks', 'status', 'update', |
| - 'updatesingle', 'url', |
| - ] |
| + members = [ 'FindSafesyncRev', |
|
M-A Ruel
2011/11/08 14:29:20
Align at +4 instead, it's easier to refactor after
Dan Beam
2011/11/09 10:31:15
Done.
|
| + 'FullUrlForRelativeUrl', |
| + 'GetRevisionDate', |
| + 'RunCommand', |
| + 'cleanup', |
| + 'diff', |
| + 'pack', |
| + 'relpath', |
| + 'revert', |
| + 'revinfo', |
| + 'runhooks', |
| + 'status', |
| + 'update', |
| + 'updatesingle', |
| + 'url' |
| + ] |
| # If you add a member, be sure to add the relevant test! |
| self.compareMembers(self._scm_wrapper('svn://a'), members) |
| @@ -619,11 +629,21 @@ |
| class ManagedGitWrapperTestCase(BaseGitWrapperTestCase): |
| def testDir(self): |
| - members = [ |
| - 'FullUrlForRelativeUrl', 'GetRevisionDate', 'RunCommand', |
| - 'cleanup', 'diff', 'pack', 'relpath', 'revert', |
| - 'revinfo', 'runhooks', 'status', 'update', 'url', |
| - ] |
| + members = [ 'FindSafesyncRev', |
| + 'FullUrlForRelativeUrl', |
| + 'GetRevisionDate', |
| + 'RunCommand', |
| + 'cleanup', |
| + 'diff', |
| + 'pack', |
| + 'relpath', |
| + 'revert', |
| + 'revinfo', |
| + 'runhooks', |
| + 'status', |
| + 'update', |
| + 'url', |
| + ] |
| # If you add a member, be sure to add the relevant test! |
| self.compareMembers(gclient_scm.CreateSCM(url=self.url), members) |