l.c.t.t.TestDirectBranchCommit(DirectBranchCommitTestCase, TestCaseWithFactory) : class documentation

Part of lp.code.tests.test_directbranchcommit View In Hierarchy

Test DirectBranchCommit.
Method test_defaults_to_branch_owner Undocumented
Method test_DirectBranchCommit_empty_initial_commit_noop Undocumented
Method test_DirectBranchCommit_commits_no_changes Undocumented
Method test_DirectBranchCommit_rejects_change_after_commit Undocumented
Method test_DirectBranchCommit_adds_file Undocumented
Method test_commit_returns_revision_id Undocumented
Method test_commit_uses_merge_parents Undocumented
Method test_DirectBranchCommit_aborts_cleanly Undocumented
Method test_DirectBranchCommit_updates_file Undocumented
Method test_DirectBranchCommit_creates_directories Undocumented
Method test_DirectBranchCommit_adds_directories Undocumented
Method test_DirectBranchCommit_reuses_new_directories Undocumented
Method test_DirectBranchCommit_writes_new_file_twice Undocumented
Method test_DirectBranchCommit_updates_file_twice Undocumented
Method test_DirectBranchCommit_detects_race_condition Undocumented
Method test_DirectBranchCommit_records_committed_revision_id Undocumented
Method test_commit_uses_getBzrCommitterID Undocumented
Method _addInitialCommit Undocumented

Inherited from DirectBranchCommitTestCase:

Method setUp Undocumented
Method _setUpCommitter Clean up any existing DirectBranchCommit, set up a new one.
Method _tearDownCommitter Undocumented
Method _getContents Return branch contents as dict mapping filenames to contents.

Inherited from TestCaseWithFactory:

Method setUp Undocumented
Method getUserBrowser Return a Browser logged in as a fresh user, maybe opened at url.
Method getNonRedirectingBrowser Undocumented
Method createBranchAtURL Create a branch at the supplied URL.
Method create_branch_and_tree Create a database branch, bzr branch and bzr checkout.
Method createBzrBranch Create a bzr branch for a database branch.
Static Method getBranchPath Return the path of the branch in the mirrored area.
Method useTempBzrHome Undocumented
Method useBzrBranches Prepare for using bzr branches.

Inherited from TestCase (via TestCaseWithFactory):

Method becomeDbUser Commit, then log into the database as dbuser.
Method __str__ The string representation of a test is its id.
Method useContext Use the supplied context in this test.
Method makeTemporaryDirectory Create a temporary directory, and return its path.
Method installKarmaRecorder Set up and return a KarmaRecorder.
Method assertProvides Assert 'obj' correctly provides 'interface'.
Method assertNotifies Assert that a callable performs a given notification.
Method assertNoNotification Assert that no notifications are generated by the callable.
Method assertSqlAttributeEqualsDate Fail unless the value of the attribute is equal to the date.
Method assertTextMatchesExpressionIgnoreWhitespace Undocumented
Method assertIsInstance Assert that an instance is an instance of assert_class.
Method assertIsNot Assert that expected is not the same object as observed.
Method assertContentEqual Assert that 'iter1' has the same content as 'iter2'.
Method assertRaisesWithContent Check if the given exception is raised with given content.
Method assertBetween Assert that 'variable' is strictly between two boundaries.
Method assertVectorEqual Apply assertEqual to all given pairs in one go.
Method expectedLog Expect a log to be written that matches the regex.
Method pushConfig Push some key-value pairs into a section of the config.
Method attachOopses Undocumented
Method attachLibrarianLog Include the logChunks from fixture in the test details.
Method assertStatementCount Assert that the expected number of SQL statements occurred.
Method useTempDir Use a temporary directory for this test.
Method assertEmailHeadersEqual Assert that two email headers are equal.
Method assertStartsWith Undocumented
Method assertEndsWith Asserts that s ends with suffix.
Method checkPermissions Check if the used_permissions match expected_permissions.
Method assertEmailQueueLength Pop the email queue, assert its length, and return it.
Method _unfoldEmailHeader Unfold a multiline email header.
def test_defaults_to_branch_owner(self):
def test_DirectBranchCommit_empty_initial_commit_noop(self):
def _addInitialCommit(self):
def test_DirectBranchCommit_commits_no_changes(self):
def test_DirectBranchCommit_rejects_change_after_commit(self):
def test_DirectBranchCommit_adds_file(self):
def test_commit_returns_revision_id(self):
def test_commit_uses_merge_parents(self):
def test_DirectBranchCommit_aborts_cleanly(self):
def test_DirectBranchCommit_updates_file(self):
def test_DirectBranchCommit_creates_directories(self):
def test_DirectBranchCommit_adds_directories(self):
def test_DirectBranchCommit_reuses_new_directories(self):
def test_DirectBranchCommit_writes_new_file_twice(self):
def test_DirectBranchCommit_updates_file_twice(self):
def test_DirectBranchCommit_detects_race_condition(self):
def test_DirectBranchCommit_records_committed_revision_id(self):
def test_commit_uses_getBzrCommitterID(self):
API Documentation for Launchpad, generated by pydoctor at 2020-12-05 00:00:02.