Skip to content

Commit 07ddc06

Browse files
committed
remove check for children key in attrs
1 parent d3eb025 commit 07ddc06

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

tests/test_core/test_vdom.py

-10
Original file line numberDiff line numberDiff line change
@@ -317,16 +317,6 @@ def test_invalid_vdom(value, error_message_pattern):
317317
validate_vdom_json(value)
318318

319319

320-
@pytest.mark.skipif(not IDOM_DEBUG_MODE.current, reason="Only logs in debug mode")
321-
def test_debug_log_if_children_in_attributes(caplog):
322-
idom.vdom("div", {"children": ["hello"]})
323-
assert len(caplog.records) == 1
324-
assert caplog.records[0].message.startswith(
325-
"Reserved key 'children' found in attributes"
326-
)
327-
caplog.records.clear()
328-
329-
330320
@pytest.mark.skipif(not IDOM_DEBUG_MODE.current, reason="Only logs in debug mode")
331321
def test_debug_log_cannot_verify_keypath_for_genereators(caplog):
332322
idom.vdom("div", (1 for i in range(10)))

0 commit comments

Comments
 (0)