~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/testfetch.py

  • Committer: aaron.bentley at utoronto
  • Date: 2005-09-04 02:59:56 UTC
  • mfrom: (1172)
  • mto: (1185.3.4)
  • mto: This revision was merged to the branch mainline in revision 1178.
  • Revision ID: aaron.bentley@utoronto.ca-20050904025956-776ba4f07de97700
Merged mpool's latest changes (~0.0.7)

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
import sys
21
21
import os
22
22
 
23
 
from testsweet import InTempDir
 
23
from bzrlib.selftest import TestCaseInTempDir
24
24
        
25
25
 
26
 
class TestFetch(InTempDir):
 
26
class TestFetch(TestCaseInTempDir):
27
27
    def runTest(self):
28
 
        from bzrlib.commit import commit
29
28
        from bzrlib.fetch import greedy_fetch, has_revision
30
 
        from bzrlib.selftest.testrevision import make_branches
31
29
 
32
30
        def new_branch(name):
33
31
            os.mkdir(name)
93
91
 
94
92
 
95
93
if __name__ == '__main__':
96
 
    import sys
97
 
    sys.exit(run_suite(unittest.makeSuite()))
 
94
    import unittest
 
95
    sys.exit(unittest.run_suite(unittest.makeSuite()))