~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 08:19:55 UTC
  • Revision ID: mbp@sourcefrog.net-20050825081955-d7295021dcfcd2ba
- disable standard logging to .bzr.log and stderr while running 
  tests

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
import bzrlib.fetch
20
21
 
21
22
MODULES_TO_TEST = []
22
23
MODULES_TO_DOCTEST = []
56
57
                   'bzrlib.selftest.testrevision',
57
58
                   'bzrlib.merge_core',
58
59
                   'bzrlib.selftest.testdiff',
 
60
                   'bzrlib.fetch'
59
61
                   ]
60
62
 
61
 
    # XXX: should also test bzrlib.merge_core, but they seem to be out
62
 
    # of date with the code.
63
 
 
64
63
    for m in (bzrlib.store, bzrlib.inventory, bzrlib.branch,
65
64
              bzrlib.osutils, bzrlib.commands, bzrlib.merge3):
66
65
        if m not in MODULES_TO_DOCTEST:
67
66
            MODULES_TO_DOCTEST.append(m)
68
67
 
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)
 
68
    TestCase.BZRPATH = os.path.join(os.path.realpath(os.path.dirname(bzrlib.__path__[0])), 'bzr')
 
69
    print '%-30s %s' % ('bzr binary', TestCase.BZRPATH)
72
70
 
73
71
    print
74
72