(self)
| 423 | assert t.setdefault("c", [{"d": 2}]) == BoxList([{"d": 2}]) |
| 424 | |
| 425 | def test_from_json_file(self): |
| 426 | bx = Box.from_json(filename=data_json_file) |
| 427 | assert isinstance(bx, Box) |
| 428 | assert bx.widget.window.height == 500 |
| 429 | |
| 430 | def test_from_yaml_invalid_bracket_key(self): |
| 431 | key = r"^[^_^\d][\w]*$" |