| Index: tests/gclient_scm_test.py
|
| diff --git a/tests/gclient_scm_test.py b/tests/gclient_scm_test.py
|
| index c69ad2fca846bf97649be9b5e8cab08c593755d9..44d23aa30b8042f8497182208f96477ac7b93cf7 100755
|
| --- a/tests/gclient_scm_test.py
|
| +++ b/tests/gclient_scm_test.py
|
| @@ -142,6 +142,10 @@ class SVNWrapperTestCase(BaseTestCase):
|
| gclient_scm.os.path.exists(join(self.base_path, '.hg')).AndReturn(False)
|
| # Checkout.
|
| gclient_scm.os.path.exists(self.base_path).AndReturn(False)
|
| + parent = gclient_scm.os.path.dirname(self.base_path)
|
| + gclient_scm.os.path.exists(parent).AndReturn(False)
|
| + gclient_scm.os.makedirs(parent)
|
| + gclient_scm.os.path.exists(parent).AndReturn(True)
|
| files_list = self.mox.CreateMockAnything()
|
| gclient_scm.scm.SVN.RunAndGetFileList(
|
| options.verbose,
|
| @@ -167,6 +171,10 @@ class SVNWrapperTestCase(BaseTestCase):
|
| gclient_scm.os.path.exists(join(self.base_path, '.git')).AndReturn(False)
|
| gclient_scm.os.path.exists(join(self.base_path, '.hg')).AndReturn(False)
|
| gclient_scm.os.path.exists(self.base_path).AndReturn(False)
|
| + parent = gclient_scm.os.path.dirname(self.base_path)
|
| + gclient_scm.os.path.exists(parent).AndReturn(False)
|
| + gclient_scm.os.makedirs(parent)
|
| + gclient_scm.os.path.exists(parent).AndReturn(True)
|
| files_list = self.mox.CreateMockAnything()
|
| gclient_scm.scm.SVN.Capture(['--version']).AndReturn('svn, version 1.6')
|
| gclient_scm.scm.SVN.RunAndGetFileList(
|
| @@ -255,6 +263,10 @@ class SVNWrapperTestCase(BaseTestCase):
|
| gclient_scm.os.path.exists(join(self.base_path, '.hg')).AndReturn(False)
|
| # Checkout.
|
| gclient_scm.os.path.exists(self.base_path).AndReturn(False)
|
| + parent = gclient_scm.os.path.dirname(self.base_path)
|
| + gclient_scm.os.path.exists(parent).AndReturn(False)
|
| + gclient_scm.os.makedirs(parent)
|
| + gclient_scm.os.path.exists(parent).AndReturn(True)
|
| files_list = self.mox.CreateMockAnything()
|
| gclient_scm.scm.SVN.Capture(['--version']
|
| ).AndReturn('svn, version 1.5.1 (r32289)')
|
|
|