add integrity check to write tests

This commit is contained in:
pedrocarlo
2025-06-09 17:44:00 -03:00
parent c7799c8ec5
commit 3e05496078

View File

@@ -73,6 +73,11 @@ class InsertTest(BaseModel):
lambda res: res == str(self.vals * 2), lambda res: res == str(self.vals * 2),
"Counting total rows inserted", "Counting total rows inserted",
) )
sqlite.run_test_fn(
"PRAGMA integrity_check;",
lambda res: res == "ok",
"Integrity Check",
)
console.info() console.info()