Changeset 382
- Timestamp:
- 05-03-09 21:50:00 (4 years ago)
- File:
-
- 1 edited
-
trunk/moap/test/test_vcs_git_svn.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/moap/test/test_vcs_git_svn.py
r381 r382 14 14 class GitSvnTestCase(test_vcs_svn.SVNTestCase): 15 15 # git svn --version just errors about not having a git repo 16 # TODO: this might break on non-Debian machines.17 16 if not os.path.isfile('/usr/bin/git-svn') \ 18 17 and not os.path.isfile('/usr/lib/git-core/git-svn'): … … 28 27 oldPath = os.getcwd() 29 28 os.chdir(self.livedir) 30 self.liveWriteFile("lets-create-a-head-to-make-git-happy", "I lost my HEAD") 31 (status, output) = commands.getstatusoutput("git add lets-create-a-head-to-make-git-happy") 29 self.liveWriteFile("lets-create-a-head-to-make-git-happy", 30 "I lost my HEAD") 31 (status, output) = commands.getstatusoutput( 32 "git add lets-create-a-head-to-make-git-happy") 32 33 self.failIf(status) 33 (status, output) = commands.getstatusoutput("git commit -m first-commit") 34 (status, output) = commands.getstatusoutput( 35 "git commit -m first-commit") 34 36 self.failIf(status) 35 37 os.chdir(oldPath) … … 98 100 99 101 self.assertEquals(v.diff(self.livedir), "") 100
Note: See TracChangeset
for help on using the changeset viewer.
