(self)
| 216 | assert a == b == c == d |
| 217 | |
| 218 | def test_bad_inits(self): |
| 219 | with pytest.raises(ValueError): |
| 220 | Box("testing") |
| 221 | |
| 222 | with pytest.raises(ValueError): |
| 223 | Box(22) |
| 224 | |
| 225 | with pytest.raises(TypeError): |
| 226 | Box(22, 33) |
| 227 | |
| 228 | def test_create_subdicts(self): |
| 229 | a = Box({"data": 2, "count": 5}) |