tests.test_myst moduleΒΆ
Tests for the reST-to-MyST converters and the convert-to-myst command.
- tests.test_myst.test_convert_directives_keeps_fenced_body()[source]ΒΆ
A directive body already holding a fence cannot nest: it stays reST.
- tests.test_myst.test_convert_directives_skips_fence_interiors()[source]ΒΆ
A reST directive inside a fence is prior nested-conversion output: keep it.
- tests.test_myst.test_convert_source_nested_directives_idempotent()[source]ΒΆ
Nested directives convert the outer level only, and re-runs are no-ops.
- tests.test_myst.test_convert_source_fenced_samples_untouched()[source]ΒΆ
Fence bodies are sample code: reST markup inside them is data.