Changeset 278


Ignore:
Timestamp:
17-06-07 16:47:59 (6 years ago)
Author:
thomas
Message:
  • moap/test/test_vcs_darcs.py:
  • moap/test/test_vcs_git.py: Skip tests if darcs or git are missing.
Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r277 r278  
     12007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org> 
     2 
     3        * moap/test/test_vcs_darcs.py: 
     4        * moap/test/test_vcs_git.py: 
     5          Skip tests if darcs or git are missing. 
     6 
    172007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org> 
    28 
  • trunk/moap/test/test_vcs_darcs.py

    r185 r278  
    1111 
    1212class DarcsTestCase(unittest.TestCase): 
     13    if os.system('darcs') != 0: 
     14        skip = "No 'darcs' binary, skipping test." 
     15 
    1316    def setUp(self): 
    1417        self.repository = tempfile.mkdtemp(prefix="moap.test.repo.") 
  • trunk/moap/test/test_vcs_git.py

    r265 r278  
    1111 
    1212class GitTestCase(unittest.TestCase): 
     13    if os.system('git') != 0: 
     14        skip = "No 'git' binary, skipping test." 
     15 
    1316    def setUp(self): 
    1417        self.repository = tempfile.mkdtemp(prefix="moap.test.repo.") 
Note: See TracChangeset for help on using the changeset viewer.