l.c.b.t.t.TestBranchView(BrowserTestCase) : class documentation

Part of lp.code.browser.tests.test_branch View In Hierarchy

No class docstring
Method testMirrorStatusMessageIsTruncated mirror_status_message is truncated if the text is overly long.
Method testMirrorStatusMessage mirror_status_message on the view is the same as on the branch.
Method testShowMergeLinksOnManyBranchProject Undocumented
Method testShowMergeLinksOnJunkBranch Undocumented
Method testShowMergeLinksOnSingleBranchProject Undocumented
Method testNoProductSeriesPushingTranslations Undocumented
Method testProductSeriesPushingTranslations Undocumented
Method test_is_empty_directory Undocumented
Method test_empty_directories_use_existing Undocumented
Method test_user_can_upload Undocumented
Method test_user_can_upload_admins_can Undocumented
Method test_user_can_upload_non_owner Undocumented
Method test_user_can_upload_mirrored Undocumented
Method test_recipes_link_no_recipes Undocumented
Method test_recipes_link_one_recipe Undocumented
Method test_recipes_link_more_recipes Undocumented
Method test_show_rescan_link Undocumented
Method test_show_rescan_link_no_failures Undocumented
Method test_show_rescan_link_no_scan_jobs Undocumented
Method test_show_rescan_link_latest_didnt_fail Undocumented
Method test_linked_bugtasks Undocumented
Method test_linked_bugtasks_privacy Undocumented
Method test_linked_bugtasks_series_branch Undocumented
Method test_linked_bugs_nonseries_branch_query_scaling Undocumented
Method test_linked_bugs_series_branch_query_scaling Undocumented
Method test_recent_revisions Undocumented
Method test_recent_revisions_email_hidden_with_no_login Undocumented
Method test_recent_revisions_with_merge_proposals Undocumented
Method test_recent_revisions_with_merge_proposals_and_bug_links Undocumented
Method test_view_for_user_with_artifact_grant Undocumented
Method test_query_count_landing_candidates Undocumented
Method test_query_count_landing_targets Undocumented
Method test_query_count_subscriber_content Undocumented
Method test_query_count_index_with_subscribers Undocumented
Method _addBugLinks Undocumented
Method _add_revisions Undocumented

Inherited from BrowserTestCase:

Method setUp Provide useful defaults.
Method getViewBrowser Undocumented
Method getMainContent Beautiful soup of the main content area of context's page.
Method getMainText Return the main text of a context's page.

Inherited from TestCaseWithFactory (via BrowserTestCase):

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 BrowserTestCase, 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 testMirrorStatusMessageIsTruncated(self):
mirror_status_message is truncated if the text is overly long.
def testMirrorStatusMessage(self):
mirror_status_message on the view is the same as on the branch.
def testShowMergeLinksOnManyBranchProject(self):
Undocumented
def testShowMergeLinksOnJunkBranch(self):
Undocumented
def testShowMergeLinksOnSingleBranchProject(self):
Undocumented
def testNoProductSeriesPushingTranslations(self):
Undocumented
def testProductSeriesPushingTranslations(self):
Undocumented
def test_is_empty_directory(self):
Undocumented
def test_empty_directories_use_existing(self):
Undocumented
def test_user_can_upload(self):
Undocumented
def test_user_can_upload_admins_can(self):
Undocumented
def test_user_can_upload_non_owner(self):
Undocumented
def test_user_can_upload_mirrored(self):
Undocumented
def test_recipes_link_no_recipes(self):
Undocumented
def test_recipes_link_one_recipe(self):
Undocumented
def test_recipes_link_more_recipes(self):
Undocumented
def test_show_rescan_link(self):
Undocumented
def test_show_rescan_link_no_failures(self):
Undocumented
def test_show_rescan_link_no_scan_jobs(self):
Undocumented
def test_show_rescan_link_latest_didnt_fail(self):
Undocumented
def _addBugLinks(self, branch):
Undocumented
def test_linked_bugtasks(self):
Undocumented
def test_linked_bugtasks_privacy(self):
Undocumented
def test_linked_bugtasks_series_branch(self):
Undocumented
def test_linked_bugs_nonseries_branch_query_scaling(self):
Undocumented
def test_linked_bugs_series_branch_query_scaling(self):
Undocumented
def _add_revisions(self, branch, nr_revisions=1):
Undocumented
def test_recent_revisions(self):
Undocumented
def test_recent_revisions_email_hidden_with_no_login(self):
Undocumented
def test_recent_revisions_with_merge_proposals(self):
Undocumented
def test_recent_revisions_with_merge_proposals_and_bug_links(self):
Undocumented
def test_view_for_user_with_artifact_grant(self):
Undocumented
def test_query_count_landing_candidates(self):
Undocumented
def test_query_count_landing_targets(self):
Undocumented
def test_query_count_subscriber_content(self):
Undocumented
def test_query_count_index_with_subscribers(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.