diff --git a/tests/test_rst.py b/tests/test_rst.py index f1caf8d..6d16ed4 100755 --- a/tests/test_rst.py +++ b/tests/test_rst.py @@ -80,3 +80,10 @@ def test_header_and_malformed_emits_docutils_warning_only(): assert len(warnings.getvalue().splitlines()) == 1 assert "No content rendered from RST source." not in warnings.getvalue() + + +def test_own_readme(): + """Render the project's README.rst from root.""" + readme = Path(__file__).parent.parent / "README.rst" + rendered = render(readme.read_text(encoding="utf-8")) + assert rendered is not None