(self, tmp_path)
| 235 | assert block["input_audio"]["format"] == "wav" |
| 236 | |
| 237 | def test_csv_file(self, tmp_path): |
| 238 | csv = tmp_path / "data.csv" |
| 239 | csv.write_text("a,b,c\n1,2,3") |
| 240 | att = process_local_file(str(csv)) |
| 241 | assert att.mime_type == "text/csv" |
| 242 | assert "a,b,c" in att.content_blocks[0]["text"] |
| 243 | |
| 244 | def test_file_not_found(self): |
| 245 | with pytest.raises(FileNotFoundError): |
nothing calls this directly
no test coverage detected