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 a6b567b commit 24e47baCopy full SHA for 24e47ba
tests/test_sphinx_spec.py
@@ -28,6 +28,10 @@ def test_spec_output() -> None:
28
assert obj.hide is True
29
assert obj.spec == {'caption': 'my_header_out'}
30
31
+ obj = SpecOutput.from_options({'caption_output': 'my_header_out'})
32
+ assert obj.hide is False
33
+ assert obj.spec == {'caption': 'my_header_out'}
34
+
35
36
def test_invalid_options() -> None:
37
with pytest.raises(ValueError) as e: # noqa: PT011
0 commit comments