lawsynth/python/lawsynth-notebook/tests/test_equation_view.py
2026-08-16 22:04:11 +03:00

7 lines
266 B
Python

from lawsynth_notebook.equation_view import equation_rows, render_equations
def test_equations_are_never_executed():
rows = equation_rows({"x": "__import__('os').system('false')"})
assert rows[0][0] == "x" and "system" in render_equations(dict(rows)).html