sphinx / tests / test_build.py

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()
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.