~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: Aaron Bentley
  • Date: 2009-07-10 04:05:24 UTC
  • Revision ID: aaron@aaronbentley.com-20090710040524-slufgm4he3fx1r4f
Mirror the child_submit_to setting.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
"""
20
20
 
21
21
from bzrlib import ignores, option
22
 
from bzrlib.commands import (
23
 
    builtin_command_names,
24
 
    plugin_cmds,
25
 
    )
 
22
from bzrlib.commands import plugin_cmds
26
23
from version import version_info, __version__
27
24
 
28
25
 
30
27
 
31
28
 
32
29
commands = {
 
30
    'cmd_branches': [],
33
31
    'cmd_branch_history': [],
34
32
    'cmd_cbranch': [],
35
33
    'cmd_cdiff': [],
55
53
    plugin_cmds.register_lazy(cmd_name, aliases,
56
54
                              'bzrlib.plugins.bzrtools.command_classes')
57
55
 
58
 
list_branches_aliases = (['branches'] if 'branches' not in
59
 
                         builtin_command_names() else [])
60
 
 
61
 
plugin_cmds.register_lazy('cmd_list_branches', list_branches_aliases,
62
 
                          'bzrlib.plugins.bzrtools.command_classes')
63
56
 
64
57
plugin_cmds.register_lazy('cmd_heads', [], 'bzrlib.plugins.bzrtools.heads')
65
58
 
82
75
    from unittest import TestSuite
83
76
    import bzrtools
84
77
    import tests.test_dotgraph
 
78
    import tests.is_clean
85
79
    import tests.test_cbranch
86
80
    import tests.test_conflict_diff
87
81
    from bzrlib.plugins.bzrtools.tests import test_fetch_ghosts
88
 
    import tests.test_graph
89
82
    import tests.test_link_tree
90
83
    import tests.test_patch
 
84
    import tests.test_rspush
91
85
    import tests.test_mirror
92
86
    import tests.upstream_import
93
87
    import zap
98
92
    result.addTest(tests.test_suite())
99
93
    result.addTest(TestLoader().loadTestsFromModule(tests.shelf_tests))
100
94
    result.addTest(tests.blackbox.test_suite())
101
 
    result.addTest(TestLoader().loadTestsFromModule(tests.upstream_import))
 
95
    result.addTest(tests.upstream_import.test_suite())
102
96
    result.addTest(zap.test_suite())
103
97
    result.addTest(TestLoader().loadTestsFromModule(tests.test_dotgraph))
 
98
    result.addTest(TestLoader().loadTestsFromModule(tests.is_clean))
104
99
    result.addTest(TestLoader().loadTestsFromModule(test_fetch_ghosts))
105
 
    result.addTest(TestLoader().loadTestsFromModule(tests.test_graph))
106
100
    result.addTest(TestLoader().loadTestsFromModule(tests.test_link_tree))
107
101
    result.addTest(TestLoader().loadTestsFromModule(tests.test_patch))
 
102
    result.addTest(TestLoader().loadTestsFromModule(tests.test_rspush))
108
103
    result.addTest(TestLoader().loadTestsFromModule(tests.test_cbranch))
109
104
    result.addTest(TestLoader().loadTestsFromModule(tests.test_conflict_diff))
110
105
    result.addTest(TestLoader().loadTestsFromModule(tests.test_mirror))