~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: John Arbash Meinel
  • Date: 2005-07-11 06:57:50 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-20050711065750-6da62e4042bd87e6
Working on test cases, starting with the empty project issues.

Show diffs side-by-side

added added

removed removed

Lines of Context:
164
164
        apply_changeset.apply_changeset(b, f, reverse=reverse,
165
165
                auto_commit=auto_commit)
166
166
 
167
 
class cmd_test_plugins(bzrlib.commands.Command):
168
 
    """Test every plugin that supports tests.
169
 
 
170
 
    """
171
 
    takes_args = []
172
 
    takes_options = []
173
 
 
174
 
    def run(self):
175
 
        import test
176
 
        test.test()
177
 
 
178
167
bzrlib.commands.register_command(cmd_changeset)
179
168
bzrlib.commands.register_command(cmd_verify_changeset)
180
169
bzrlib.commands.register_command(cmd_apply_changeset)
181
170
bzrlib.commands.register_command(cmd_send_changeset)
182
 
bzrlib.commands.register_command(cmd_test_plugins)
183
171
 
184
172
bzrlib.commands.OPTIONS['reverse'] = None
185
173
bzrlib.commands.OPTIONS['auto-commit'] = None
 
174
 
 
175
def test_suite():
 
176
    import unittest
 
177
    import testchangeset
 
178
 
 
179
    return unittest.TestLoader().loadTestsFromModule(testchangeset)
 
180