Skip to content

Commit f2abe94

Browse files
committed
Merge branch 'main' into yogesh-xxx-add-ci
2 parents 86a3999 + 0fe83e9 commit f2abe94

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

chartlets.py/tests/components/box_test.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ def test_is_json_serializable(self):
1616

1717
d = box.to_dict()
1818
self.assertIsInstance(d, dict)
19-
self.assertIsInstance(d.get("components"), list)
20-
self.assertNotIn("children", d)
19+
self.assertIsInstance(d.get("children"), list)
2120
json_text = json.dumps(d)
2221
self.assertEqual("{", json_text[0])
2322
self.assertEqual("}", json_text[-1])

chartlets.py/tests/container_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def test_to_dict(self):
3535
"type": "ItemGroup",
3636
"id": "ig13",
3737
"style": {"color": "red"},
38-
"components": [
38+
"children": [
3939
{"type": "Item", "id": "i1"},
4040
{"type": "Item", "id": "i2"},
4141
],

0 commit comments

Comments
 (0)