Test-suite and bug-fixes for AuditableStore (cleaned history) by pchampin · Pull Request #557 · RDFLib/rdflib (original) (raw)

If the underlying store is not transaction_aware, then calling its commit method has no effect anyway. If the underlying store is transaction_aware, then it may contain more pending changes than those recorded by the AuditableStore, and committing them is a mistake.

This is illustrated by test/test_auditable.py:TestAuditableStoreEmbeded .