(self)
| 1124 | assert bx[1] == 2 |
| 1125 | |
| 1126 | def test_get_box_config(self): |
| 1127 | bx = Box() |
| 1128 | bx_config = bx.__getattr__("_box_config") |
| 1129 | assert bx_config |
| 1130 | with pytest.raises(BoxKeyError): |
| 1131 | bx["_box_config"] |
| 1132 | |
| 1133 | def test_pop(self): |
| 1134 | bx = Box(a=4, c={"d": 3}, sub_box=Box(test=1)) |
nothing calls this directly
no test coverage detected