l.s.d.t.t.TestTransactionDecorators(unittest.TestCase) : class documentation

Part of lp.services.database.tests.test_transaction_decorators View In Hierarchy

Tests for the transaction decorators used by the librarian.
Method setUp Undocumented
Method test_read_transaction_reset_store Make sure that the store is reset after the transaction.
Method test_write_transaction_reset_store Make sure that the store is reset after the transaction.
Method test_write_transaction_reset_store_with_raise Make sure that the store is reset after the transaction.
Method test_writing_transaction_reset_store_on_commit_failure The store should be reset even if committing the transaction fails.
Method _getTestFileContent Return the file content object that created.
def setUp(self):
Undocumented
def _getTestFileContent(self):
Return the file content object that created.
def test_read_transaction_reset_store(self):
Make sure that the store is reset after the transaction.
def test_write_transaction_reset_store(self):
Make sure that the store is reset after the transaction.
def test_write_transaction_reset_store_with_raise(self):
Make sure that the store is reset after the transaction.
def test_writing_transaction_reset_store_on_commit_failure(self):
The store should be reset even if committing the transaction fails.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.