~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/blackbox.py

  • Committer: Martin Pool
  • Date: 2005-07-06 05:24:29 UTC
  • Revision ID: mbp@sourcefrog.net-20050706052429-2b1f11b4fc99a62f
- workaround for flaky TestLoader in python2.3
  
  Now we just list all the test classes manually -- a bit of a pain, but does
  mean we can run the simpler tests first.

Show diffs side-by-side

added added

removed removed

Lines of Context:
365
365
# do it this way rather than just discovering them all because it
366
366
# allows us to test more basic functions first where failures will be
367
367
# easiest to understand.
368
 
 
369
 
def suite():
370
 
    from unittest import TestSuite
371
 
    s = TestSuite()
372
 
    s.addTests([TestVersion(),
373
 
                InitBranch(),
374
 
                HelpCommands(),
375
 
                UserIdentity(),
376
 
                InvalidCommands(),
377
 
                RevertCommand(),
378
 
                OldTests(),
379
 
                ])
380
 
    return s
 
368
TEST_CLASSES = [TestVersion,
 
369
                InitBranch,
 
370
                HelpCommands,
 
371
                UserIdentity,
 
372
                InvalidCommands,
 
373
                RevertCommand,
 
374
                OldTests,
 
375
                ]