Exemple #1
0
 def make_scm(self):
     git = Git(cwd='.',
               executive=MockExecutive(),
               filesystem=MockFileSystem())
     git.read_git_config = lambda *args, **kw: 'MOCKKEY:MOCKVALUE'
     return git
 def make_scm(self):
     scm = Git(cwd=".", executive=MockExecutive(), filesystem=MockFileSystem())
     scm.read_git_config = lambda *args, **kw: "MOCKKEY:MOCKVALUE"
     return scm
 def make_scm(self):
     scm = Git(cwd=".",
               executive=MockExecutive(),
               filesystem=MockFileSystem())
     scm.read_git_config = lambda *args, **kw: "MOCKKEY:MOCKVALUE"
     return scm