We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e26c4b2 commit 28c6c5eCopy full SHA for 28c6c5e
chartlets.py/tests/components/box_test.py
@@ -16,8 +16,7 @@ def test_is_json_serializable(self):
16
17
d = box.to_dict()
18
self.assertIsInstance(d, dict)
19
- self.assertIsInstance(d.get("components"), list)
20
- self.assertNotIn("children", d)
+ self.assertIsInstance(d.get("children"), list)
21
json_text = json.dumps(d)
22
self.assertEqual("{", json_text[0])
23
self.assertEqual("}", json_text[-1])
chartlets.py/tests/container_test.py
@@ -35,7 +35,7 @@ def test_to_dict(self):
35
"type": "ItemGroup",
36
"id": "ig13",
37
"style": {"color": "red"},
38
- "components": [
+ "children": [
39
{"type": "Item", "id": "i1"},
40
{"type": "Item", "id": "i2"},
41
],
0 commit comments