621
if hasattr(bzrlib.commands, 'register_command'):
622
for command in commands:
623
bzrlib.commands.register_command(command)
627
from bzrlib.tests.TestUtil import TestLoader
629
from doctest import DocTestSuite, ELLIPSIS
630
from unittest import TestSuite
632
import tests.clean_tree
633
import tests.test_dotgraph
634
import tests.is_clean
635
import tests.test_cbranch
636
import tests.test_link_tree
637
import tests.test_patch
638
import tests.test_rspush
639
import tests.upstream_import
641
import tests.blackbox
642
import tests.shelf_tests
644
result.addTest(DocTestSuite(bzrtools, optionflags=ELLIPSIS))
645
result.addTest(tests.clean_tree.test_suite())
646
result.addTest(tests.test_suite())
647
result.addTest(TestLoader().loadTestsFromModule(tests.shelf_tests))
648
result.addTest(tests.blackbox.test_suite())
649
result.addTest(tests.upstream_import.test_suite())
650
result.addTest(zap.test_suite())
651
result.addTest(TestLoader().loadTestsFromModule(tests.test_dotgraph))
652
result.addTest(TestLoader().loadTestsFromModule(tests.is_clean))
653
result.addTest(TestLoader().loadTestsFromModule(tests.test_link_tree))
654
result.addTest(TestLoader().loadTestsFromModule(tests.test_patch))
655
result.addTest(TestLoader().loadTestsFromModule(tests.test_rspush))
656
result.addTest(TestLoader().loadTestsFromModule(tests.test_cbranch))