(self)
| 561 | assert dumped["Float"] == 0.1 |
| 562 | |
| 563 | def test_bad_from_json(self): |
| 564 | with pytest.raises(BoxError): |
| 565 | Box.from_json() |
| 566 | |
| 567 | with pytest.raises(BoxError): |
| 568 | Box.from_json(json_string="[1]") |
| 569 | |
| 570 | def test_bad_from_yaml(self): |
| 571 | with pytest.raises(BoxError): |