Skip to content

Graph-Native Infrastructure for Context and Accountable AI Systems

Finalize CSV tests after conflict resolution

KaifAhmad1979653e49818
diff --git a/tests/ingest/test_ingest_from_csv().py b/tests/ingest/test_ingest_from_csv().py
index d2fa42e4..33e46ba5 100644
--- a/tests/ingest/test_ingest_from_csv().py
+++ b/tests/ingest/test_ingest_from_csv().py
@@ -227,7 +227,9 @@ def test_bad_row_unclosed_quote():
content = "x,y\n1,2\n\"3,4\n5,6\n"
path = write_temp_csv(content)
data = PandasIngestor().from_csv(path)
- assert data.row_count == 3
+ # The malformed quoted line consumes the following line; both are skipped.
+ # Only the first valid row remains.
+ assert data.row_count == 1