Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test-suite and bug-fixes for AuditableStore (cleaned history) #557

Merged
merged 4 commits into from
Nov 30, 2015

Conversation

pchampin
Copy link
Contributor

This is a squashed version of #537 .
@gromgull I only squashed those commits fixing the test-suite, which indeed didn't look good. However, I kepts separate the commit creating the tests suite, and the different steps in fixing AuditableStore so as to pass the suite. I think it is better that way, but if you prefer, I can also squash all of them into a single commit.

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 .
@gromgull
Copy link
Member

Looks good! Thanks!

gromgull added a commit that referenced this pull request Nov 30, 2015
Test-suite and bug-fixes for AuditableStore (cleaned history)
@gromgull gromgull merged commit f2bef7a into RDFLib:master Nov 30, 2015
@joernhees joernhees added bug Something isn't working enhancement New feature or request testing store Related to a store. labels Dec 29, 2015
@joernhees joernhees added this to the rdflib 4.2.2 milestone Dec 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request store Related to a store. testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants