Skip to content

restructuredtext_lint.test.test.TestRestructuredtextLintCLI.test_level_fail fails #66

Description

@mcepl

When packaging this package (1.4.0 using the tarball from PyPI) this test failed:

[   22s] ======================================================================
[   22s] FAIL: test_level_fail (restructuredtext_lint.test.test.TestRestructuredtextLintCLI.test_level_fail)
[   22s] Confirm low --level threshold fails file with warnings only
[   22s] ----------------------------------------------------------------------
[   22s] Traceback (most recent call last):
[   22s]   File "/home/abuild/rpmbuild/BUILD/python-restructuredtext_lint-1.4.0-build/restructuredtext_lint-1.4.0/restructuredtext_lint/test/test.py", line 210, in test_level_fail
[   22s]     self.assertEqual(output.count('\n'), 2, output)
[   22s] AssertionError: 1 != 2 : WARNING /home/abuild/rpmbuild/BUILD/python-restructuredtext_lint-1.4.0-build/restructuredtext_lint-1.4.0/restructuredtext_lint/test/test_files/second_short_heading.rst:6 Title underline too short.

Complete build log with all packages used listed and all steps required for reproduction included.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions