(self)
| 156 | assert b2[2].Name == "Jess" |
| 157 | |
| 158 | def test_bad_csv(self): |
| 159 | data = BoxList([{"test": 1}, {"bad": 2, "data": 3}]) |
| 160 | file = Path(tmp_dir, "csv_file.csv") |
| 161 | with pytest.raises(BoxError): |
| 162 | data.to_csv(file) |
| 163 | |
| 164 | def test_toon_strings(self): |
| 165 | bl = BoxList([{"item": 1, "name": "test"}, {"item": 2, "name": "two"}]) |