(self)
| 40 | assert repr(cns).startswith("ConfigBox(") |
| 41 | |
| 42 | def test_dir(self): |
| 43 | b = ConfigBox(test_dict) |
| 44 | |
| 45 | for item in ("to_yaml", "to_dict", "to_json", "int", "list", "float"): |
| 46 | assert item in dir(b) |
| 47 | |
| 48 | def test_config_default(self): |
| 49 | bx4 = Box(default_box=True, default_box_attr=ConfigBox) |