(self)
| 1034 | assert "a.b.c.d" not in bx_dot |
| 1035 | |
| 1036 | def test_get_default_box(self): |
| 1037 | bx = Box(default_box=True) |
| 1038 | assert bx.get("test", 4) == 4 |
| 1039 | assert isinstance(bx.get("a"), Box) |
| 1040 | assert bx.get("test", None) is None |
| 1041 | |
| 1042 | def test_inheritance_copy(self): |
| 1043 | class Box2(Box): |