ricklon commited on
Commit
474fd39
·
1 Parent(s): 4d410ae

Update markdown preview test loader for spatial helpers

Browse files
Files changed (1) hide show
  1. tests/test_markdown_preview.py +6 -1
tests/test_markdown_preview.py CHANGED
@@ -57,7 +57,12 @@ def _load_preview_functions():
57
  source = app_path.read_text(encoding="utf-8")
58
  module = ast.parse(source, filename=str(app_path))
59
 
60
- wanted = {"_to_mathml", "to_math_html"}
 
 
 
 
 
61
  fn_nodes = [n for n in module.body if isinstance(n, ast.FunctionDef) and n.name in wanted]
62
  fn_nodes.sort(key=lambda n: n.lineno)
63
 
 
57
  source = app_path.read_text(encoding="utf-8")
58
  module = ast.parse(source, filename=str(app_path))
59
 
60
+ wanted = {
61
+ "_to_mathml",
62
+ "_inject_spatial_gap_placeholders",
63
+ "_restore_spatial_gap_placeholders",
64
+ "to_math_html",
65
+ }
66
  fn_nodes = [n for n in module.body if isinstance(n, ast.FunctionDef) and n.name in wanted]
67
  fn_nodes.sort(key=lambda n: n.lineno)
68