MCPcopy Create free account
hub / github.com/Hey-Telo/admyral / test_python_function

Function test_python_function

tests/compiler/test_condition_compiler.py:70–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68
69
70def test_python_function():
71 condition = "len(f) > 0"
72 with pytest.raises(RuntimeError) as e:
73 compile_condition_str(condition)
74 assert str(e.value) == "Unsupported condition expression: len(f)\n"

Callers

nothing calls this directly

Calls 1

compile_condition_strFunction · 0.90

Tested by

no test coverage detected