~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/__init__.py

  • Committer: Martin Pool
  • Date: 2005-08-25 09:17:19 UTC
  • Revision ID: mbp@sourcefrog.net-20050825091719-b2d7be7bf56bb35a
- fix a few errors in new merge code

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
16
16
 
17
17
 
18
 
from testsweet import TestBase, run_suite, InTempDir
 
18
from testsweet import TestCase, run_suite, InTempDir
19
19
import bzrlib.commands
20
20
 
21
21
MODULES_TO_TEST = []
45
45
    testmod_names = \
46
46
                  ['bzrlib.selftest.whitebox',
47
47
                   'bzrlib.selftest.versioning',
 
48
                   'bzrlib.selftest.testfetch',
48
49
                   'bzrlib.selftest.testinv',
49
50
                   'bzrlib.selftest.testmerge3',
50
51
                   'bzrlib.selftest.testhashcache',
58
59
                   'bzrlib.selftest.testdiff',
59
60
                   ]
60
61
 
61
 
    # XXX: should also test bzrlib.merge_core, but they seem to be out
62
 
    # of date with the code.
63
 
 
64
62
    for m in (bzrlib.store, bzrlib.inventory, bzrlib.branch,
65
63
              bzrlib.osutils, bzrlib.commands, bzrlib.merge3):
66
64
        if m not in MODULES_TO_DOCTEST:
67
65
            MODULES_TO_DOCTEST.append(m)
68
66
 
69
 
    
70
 
    TestBase.BZRPATH = os.path.join(os.path.realpath(os.path.dirname(bzrlib.__path__[0])), 'bzr')
71
 
    print '%-30s %s' % ('bzr binary', TestBase.BZRPATH)
 
67
    TestCase.BZRPATH = os.path.join(os.path.realpath(os.path.dirname(bzrlib.__path__[0])), 'bzr')
 
68
    print '%-30s %s' % ('bzr binary', TestCase.BZRPATH)
72
69
 
73
70
    print
74
71