(self)
| 512 | assert dumped["Float"] == 0.1 |
| 513 | |
| 514 | def test_bad_from_json(self): |
| 515 | with pytest.raises(BoxError): |
| 516 | Box.from_json() |
| 517 | |
| 518 | with pytest.raises(BoxError): |
| 519 | Box.from_json(json_string="[1]") |
| 520 | |
| 521 | def test_bad_from_yaml(self): |
| 522 | with pytest.raises(BoxError): |