~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-04-08 12:39:40 UTC
  • mfrom: (4266.2.1 tests.output)
  • Revision ID: pqm@pqm.ubuntu.com-20090408123940-kaho6cwr21163fjn
(robertc) Remove clutter from bzr selftest --list. (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
542
542
            for t in iter_suite_tests(test):
543
543
                self.stream.writeln("%s" % (t.id()))
544
544
                run += 1
545
 
            actionTaken = "Listed"
 
545
            return None
546
546
        else:
547
547
            try:
548
548
                import testtools
2653
2653
    for decorator in decorators:
2654
2654
        suite = decorator(suite)
2655
2655
    result = runner.run(suite)
 
2656
    if list_only:
 
2657
        return True
2656
2658
    if strict:
2657
2659
        return result.wasStrictlySuccessful()
2658
2660
    else: