(self)
| 657 | hash(BoxList([1, 2, 3])) |
| 658 | |
| 659 | def test_config(self): |
| 660 | bx = Box(extended_test_dict) |
| 661 | assert bx["_box_config"] is True |
| 662 | assert isinstance(bx._box_config, dict) |
| 663 | with pytest.raises(BoxError): |
| 664 | delattr(bx, "_box_config") |
| 665 | bx._box_config |
| 666 | |
| 667 | def test_default_box(self): |
| 668 | bx = Box(test_dict, default_box=True, default_box_attr={"hi": "there"}) |