MCPcopy Index your code
hub / github.com/reactive-python/reactpy / test_invalid_vdom

Function test_invalid_vdom

src/py/reactpy/tests/test_core/test_vdom.py:278–280  ·  view source on GitHub ↗
(value, error_message_pattern)

Source from the content-addressed store, hash-verified

276 ],
277)
278def test_invalid_vdom(value, error_message_pattern):
279 with pytest.raises(JsonSchemaException, match=error_message_pattern):
280 validate_vdom_json(value)
281
282
283@pytest.mark.skipif(not REACTPY_DEBUG_MODE.current, reason="Only warns in debug mode")

Callers

nothing calls this directly

Calls 1

validate_vdom_jsonFunction · 0.90

Tested by

no test coverage detected