Skip to content

Commit 199873d

Browse files
committed
tests: Update test with new handler structure
1 parent a16da56 commit 199873d

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

tests/test_themes.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ def test_render_themes_templates_python(identifier: str, plugin: MkdocstringsPlu
3535
ext_markdown: Pytest fixture (see conftest.py).
3636
"""
3737
handler = plugin.handlers.get_handler("typescript")
38-
handler._update_env(ext_markdown, plugin.handlers._config)
39-
data = handler.collect(identifier, {})
40-
handler.render(data, {})
38+
handler._update_env(ext_markdown, config=plugin.handlers._tool_config)
39+
options = handler.get_options({})
40+
data = handler.collect(identifier, options)
41+
handler.render(data, options)

0 commit comments

Comments
 (0)