blockdiag/sphinxcontrib-nwdiag

View on GitHub
tests/nwdiag/test_html.py

Summary

Maintainability
B
6 hrs
Test Coverage

File test_html.py has 321 lines of code (exceeds 250 allowed). Consider refactoring.
Open

# -*- coding: utf-8 -*-

from sphinx_testing import with_app

import unittest
Severity: Minor
Found in tests/nwdiag/test_html.py - About 3 hrs to fix

    TestSphinxcontribNwdiagHTML has 27 functions (exceeds 20 allowed). Consider refactoring.
    Open

    class TestSphinxcontribNwdiagHTML(unittest.TestCase):
        @with_png_app
        def test_build_png_image(self, app, status, warning):
            """
            .. nwdiag::
    Severity: Minor
    Found in tests/nwdiag/test_html.py - About 3 hrs to fix

      There are no issues that match your filters.

      Category
      Status