(self)
| 1613 | assert box4 == Box({"data": [{"a": 1}]}), box4 |
| 1614 | |
| 1615 | def test_box_from_empty_yaml(self): |
| 1616 | out = Box.from_yaml("---") |
| 1617 | assert out == Box() |
| 1618 | |
| 1619 | out2 = BoxList.from_yaml("---") |
| 1620 | assert out2 == BoxList() |
| 1621 | |
| 1622 | def test_setdefault_simple(self): |
| 1623 | box = Box({"a": 1}) |