Skip to content

The agent that grows with you

test(state): drop the toothless in_transaction assert

kshitijk4poor86e4a57f302b
diff --git a/tests/hermes_state/test_fts_rebuild_corruption_class.py b/tests/hermes_state/test_fts_rebuild_corruption_class.py
index df39c09e376..0614152c921 100644
--- a/tests/hermes_state/test_fts_rebuild_corruption_class.py
+++ b/tests/hermes_state/test_fts_rebuild_corruption_class.py
@@ -53,9 +53,6 @@ def test_corruption_class_error_is_caught_rolled_back_and_reported(
)
with caplog.at_level("ERROR"):
assert db.rebuild_fts() == 0
- assert (
- db._conn.in_transaction is False
- ) # the except arm rolled the failed statement back
assert any("offline repair" in rec.message for rec in caplog.records)