~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: John Arbash Meinel
  • Date: 2005-07-04 05:44:40 UTC
  • mto: (0.5.85) (1185.82.1 bzr-w-changeset)
  • mto: This revision was merged to the branch mainline in revision 1738.
  • Revision ID: john@arbash-meinel.com-20050704054440-ed584dd40745fdde
Refactoring, moving test code into test (switching back to assert is None)

Show diffs side-by-side

added added

removed removed

Lines of Context:
132
132
        apply_changeset.apply_changeset(b, f, reverse=reverse,
133
133
                auto_commit=auto_commit)
134
134
 
 
135
class cmd_test_plugins(bzrlib.commands.Command):
 
136
    """Test every plugin that supports tests.
 
137
 
 
138
    """
 
139
    takes_args = []
 
140
    takes_options = []
 
141
 
 
142
    def run(self):
 
143
        import test
 
144
        test.test()
135
145
 
136
146
bzrlib.commands.register_command(cmd_changeset)
137
147
bzrlib.commands.register_command(cmd_verify_changeset)
138
148
bzrlib.commands.register_command(cmd_apply_changeset)
139
149
bzrlib.commands.register_command(cmd_send_changeset)
140
 
 
141
 
from test import cmd_test_plugins
142
150
bzrlib.commands.register_command(cmd_test_plugins)
143
151
 
144
152
bzrlib.commands.OPTIONS['reverse'] = None