~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_generate_docs.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-06-19 11:01:17 UTC
  • mfrom: (4070.11.16 249908-doc-generate)
  • Revision ID: pqm@pqm.ubuntu.com-20090619110117-rhph89w2k9gavp24
(mbp) various tweaks to doc generation

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
        bzrlib.commands.install_bzr_command_hooks()
42
42
 
43
43
    def test_man_page(self):
44
 
        try:
45
 
            from tools.doc_generate import autodoc_man
46
 
        except ImportError:
47
 
            raise TestSkipped('The package "tools" is not available to test.')
 
44
        from bzrlib.doc_generate import autodoc_man
48
45
 
49
46
        autodoc_man.infogen(self.options, self.sio)
50
47
        self.assertNotEqual('', self.sio.getvalue())
51
48
 
52
49
    def test_rstx_man(self):
53
 
        try:
54
 
            from tools.doc_generate import autodoc_rstx
55
 
        except ImportError:
56
 
            raise TestSkipped('The package "tools" is not available to test.')
 
50
        from bzrlib.doc_generate import autodoc_rstx
57
51
 
58
52
        autodoc_rstx.infogen(self.options, self.sio)
59
53
        self.assertNotEqual('', self.sio.getvalue())