Rev 4133: Make generate_docs tests work. Yay for not using bzr's command infrastructure. in http://people.ubuntu.com/~robertc/baz2.0/integration
Robert Collins
robertc at robertcollins.net
Mon Jun 15 10:41:44 BST 2009
At http://people.ubuntu.com/~robertc/baz2.0/integration
------------------------------------------------------------
revno: 4133
revision-id: robertc at robertcollins.net-20090615094137-dceus9nxgosy1rzv
parent: robertc at robertcollins.net-20090615090702-okjak2a1t826no8n
committer: Robert Collins <robertc at robertcollins.net>
branch nick: integration
timestamp: Mon 2009-06-15 19:41:37 +1000
message:
Make generate_docs tests work. Yay for not using bzr's command infrastructure.
=== modified file 'bzrlib/tests/test_generate_docs.py'
--- a/bzrlib/tests/test_generate_docs.py 2009-03-23 14:59:43 +0000
+++ b/bzrlib/tests/test_generate_docs.py 2009-06-15 09:41:37 +0000
@@ -22,6 +22,7 @@
from cStringIO import StringIO
+import bzrlib.commands
from bzrlib.tests import TestCase, TestSkipped
@@ -37,6 +38,7 @@
self.sio = StringIO()
self.options = Options()
self.options.bzr_name = 'bzr'
+ bzrlib.commands.install_bzr_command_hooks()
def test_man_page(self):
try:
More information about the bazaar-commits
mailing list