(self)
| 390 | assert b2[2].Name == "Jess" |
| 391 | |
| 392 | def test_bad_csv(self): |
| 393 | data = BoxList([{"test": 1}, {"bad": 2, "data": 3}]) |
| 394 | file = Path(tmp_dir, "csv_file.csv") |
| 395 | with pytest.raises(BoxError): |
| 396 | data.to_csv(file) |
| 397 | |
| 398 | def test_toon_strings(self): |
| 399 | bl = BoxList([{"item": 1, "name": "test"}, {"item": 2, "name": "two"}]) |