We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d00a72 commit 67c8e53Copy full SHA for 67c8e53
quartodoc/tests/test_ast.py
@@ -1,10 +1,12 @@
1
import quartodoc.ast as qast
2
-
3
import pytest
+
4
from griffe.docstrings import dataclasses as ds
5
from griffe import dataclasses as dc
6
from griffe.docstrings.parsers import parse_numpy
7
8
+from quartodoc import get_object
9
10
11
@pytest.mark.parametrize(
12
"el, body",
@@ -59,3 +61,11 @@ def test_transform_docstring_section_clump():
59
61
60
62
# what to do here? this should more reasonably be handled when transform
63
# operates on the root.
64
65
66
+def test_preview_no_fail(capsys):
67
+ qast.preview(get_object("quartodoc", "get_object"))
68
69
+ res = capsys.readouterr()
70
71
+ assert "get_object" in res.out
0 commit comments