Source

sphinx / tests / test_build.py

Full commit
georg.brandl 7187a9f 




Georg Brandl 330f1e6 
georg.brandl 7187a9f 
Georg Brandl 3a0071d 
Georg Brandl 4da052f 
georg.brandl 7187a9f 


Georg Brandl 4da052f 

Georg Brandl 4b4bd9d 
Georg Brandl dd18222 
georg.brandl 7187a9f 
georg.brandl e63649e 

Georg Brandl e3ea500 



Georg Brandl 2521a48 



Georg Brandl 4da052f 
georg.brandl e63649e 


Georg Brandl 4da052f 
georg.brandl e63649e 


Georg Brandl e3ea500 







Roland Meister 6422ce7 



Georg Brandl 3cf157c 
georg.brandl e63649e 

Georg Brandl 3cf157c 
Georg Brandl 2ffdb09 








Georg Brandl 3cf157c 

# -*- coding: utf-8 -*-
"""
    test_build
    ~~~~~~~~~~

    Test all builders that have no special checks.

    :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
    :license: BSD, see LICENSE for details.
"""

from util import *


def teardown_module():
    (test_root / '_build').rmtree(True)

# just let the remaining ones run for now

@with_app(buildername='pickle')
def test_pickle(app):
    app.builder.build_all()

@with_app(buildername='json')
def test_json(app):
    app.builder.build_all()

@with_app(buildername='linkcheck')
def test_linkcheck(app):
    app.builder.build_all()

@with_app(buildername='text')
def test_text(app):
    app.builder.build_all()

@with_app(buildername='htmlhelp')
def test_htmlhelp(app):
    app.builder.build_all()

@with_app(buildername='qthelp')
def test_qthelp(app):
    app.builder.build_all()

@with_app(buildername='epub')
def test_epub(app):
    app.builder.build_all()

@with_app(buildername='changes')
def test_changes(app):
    app.builder.build_all()

try:
    from docutils.writers.manpage import Writer
except ImportError:
    pass
else:
    @with_app(buildername='man')
    def test_man(app):
        app.builder.build_all()

@with_app(buildername='singlehtml', cleanenv=True)
def test_singlehtml(app):
    app.builder.build_all()