blockdiag/sphinxcontrib-nwdiag

View on GitHub
tests/nwdiag/test_basic.py

Summary

Maintainability
C
1 day
Test Coverage
# -*- coding: utf-8 -*-

from sphinx_testing import with_app


@with_app(buildername='html', srcdir='tests/docs/nwdiag/')
def test_build_html(app, status, warning):
    app.builder.build_all()


@with_app(buildername='singlehtml', srcdir='tests/docs/nwdiag/')
def test_build_singlehtml(app, status, warning):
    app.builder.build_all()


@with_app(buildername='latex', srcdir='tests/docs/nwdiag/')
def test_build_latex(app, status, warning):
    app.builder.build_all()


@with_app(buildername='epub', srcdir='tests/docs/nwdiag/')
def test_build_epub(app, status, warning):
    app.builder.build_all()


@with_app(buildername='json', srcdir='tests/docs/nwdiag/')
def test_build_json(app, status, warning):
    app.builder.build_all()