(self)
| 472 | assert t.setdefault("c", [{"d": 2}]) == BoxList([{"d": 2}]) |
| 473 | |
| 474 | def test_from_json_file(self): |
| 475 | bx = Box.from_json(filename=data_json_file) |
| 476 | assert isinstance(bx, Box) |
| 477 | assert bx.widget.window.height == 500 |
| 478 | |
| 479 | def test_from_yaml_invalid_bracket_key(self): |
| 480 | key = r"^[^_^\d][\w]*$" |