(self)
| 608 | hash(BoxList([1, 2, 3])) |
| 609 | |
| 610 | def test_config(self): |
| 611 | bx = Box(extended_test_dict) |
| 612 | assert bx["_box_config"] is True |
| 613 | assert isinstance(bx._box_config, dict) |
| 614 | with pytest.raises(BoxError): |
| 615 | delattr(bx, "_box_config") |
| 616 | bx._box_config |
| 617 | |
| 618 | def test_default_box(self): |
| 619 | bx = Box(test_dict, default_box=True, default_box_attr={"hi": "there"}) |