~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_doc_generate.py

  • Committer: Robert Collins
  • Date: 2006-02-22 05:56:44 UTC
  • mto: (1563.1.5 integration)
  • mto: This revision was merged to the branch mainline in revision 1568.
  • Revision ID: robertc@robertcollins.net-20060222055644-1c843d87efc1c539
Review feedback.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
# along with this program; if not, write to the Free Software
15
15
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
16
16
 
17
 
from bzrlib.tests import TestCaseInTempDir, TestSkipped
 
17
from bzrlib.tests import TestCaseInTempDir
18
18
from bzrlib.branch import Branch
 
19
import tools.doc_generate
19
20
 
20
 
# TODO: perhaps doc_generate should be moved into bzrlib instead?
21
21
 
22
22
class TestDocGenerate(TestCaseInTempDir):
23
23
 
24
24
    def test_generate_manpage(self):
25
25
        """Simple smoke test for doc_generate"""
26
 
        try:
27
 
            import tools.doc_generate
28
 
        except ImportError, e:
29
 
            raise TestSkipped("can't load doc_generate: %s" % e)
30
26
        infogen_mod = tools.doc_generate.get_module("man")
 
27
 
 
28