Skip to content

Commit 24e47ba

Browse files
.
1 parent a6b567b commit 24e47ba

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/test_sphinx_spec.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ def test_spec_output() -> None:
2828
assert obj.hide is True
2929
assert obj.spec == {'caption': 'my_header_out'}
3030

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+
3135

3236
def test_invalid_options() -> None:
3337
with pytest.raises(ValueError) as e: # noqa: PT011

0 commit comments

Comments
 (0)