l.r.t.t.TestPerson(TestCaseWithFactory) : class documentation

Part of lp.registry.tests.test_person View In Hierarchy

Undocumented
Method test_title_user Undocumented
Method test_title_team Undocumented
Method test_description_not_exists Undocumented
Method test_description_fallback_for_person Undocumented
Method test_description_exists Undocumented
Method test_description_setting_reconciles_obsolete_sources Undocumented
Method test_getAffiliatedPillars_kinds Undocumented
Method test_getAffiliatedPillars_roles Undocumented
Method test_getAffiliatedPillars_active_pillars Undocumented
Method test_getAffiliatedPillars_minus_proprietary Undocumented
Method test_getAffiliatedPillars_visible_to_self Undocumented
Method test_getAffiliatedPillars_visible_to_admins Undocumented
Method test_getAffiliatedPillars_visible_to_commercial_admins Undocumented
Method test_no_merge_pending Undocumented
Method test_isMergePending Undocumented
Method test_mergeAsync_success Undocumented
Method test_selfgenerated_bugnotifications_false_by_default Undocumented
Method test_expanded_notification_footers_false_by_default Undocumented
Method test_require_strong_email_authentication_false_by_default Undocumented
Method test_require_strong_email_authentication_permissions Undocumented
Method test_canAccess__anonymous Undocumented
Method test_canAccess__checking_own_permissions Undocumented
Method test_canAccess__checking_permissions_of_others Undocumented
Method test_canWrite__anonymous Undocumented
Method test_canWrite__checking_own_permissions Undocumented
Method test_canWrite__checking_permissions_of_others Undocumented
Method makeSubscribedDistroSourcePackages Undocumented
Method test_getBugSubscriberPackages Undocumented
Method test_getBugSubscriberPackages__one_query Undocumented
Method createCopiedPackage Undocumented
Method test_getLatestSynchronisedPublishings_most_recent_first Undocumented
Method test_getLatestSynchronisedPublishings_other_creator Undocumented
Method test_getLatestSynchronisedPublishings_latest Undocumented
Method test_getLatestSynchronisedPublishings_cross_archive_copies Undocumented
Method test_getLatestSynchronisedPublishings_main_archive Undocumented
Method test_product_isAnyPillarOwner Undocumented
Method test_projectgroup_isAnyPillarOwner Undocumented
Method test_distribution_isAnyPillarOwner Undocumented
Method test_has_current_commercial_subscription Undocumented
Method test_does_not_have_current_commercial_subscription Undocumented
Method test_does_not_have_commercial_subscription Undocumented
Method test_commercial_admin_with_checkAllowVisibility Undocumented
Method test_can_not_set_visibility Undocumented
Method test_private_team_has_personal_access_policy Undocumented
Method test_public_team_has_no_personal_access_policy Undocumented

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_title_user(self):
Undocumented
def test_title_team(self):
Undocumented
def test_description_not_exists(self):
Undocumented
def test_description_fallback_for_person(self):
Undocumented
def test_description_exists(self):
Undocumented
def test_description_setting_reconciles_obsolete_sources(self):
Undocumented
def test_getAffiliatedPillars_kinds(self):
Undocumented
def test_getAffiliatedPillars_roles(self):
Undocumented
def test_getAffiliatedPillars_active_pillars(self):
Undocumented
def test_getAffiliatedPillars_minus_proprietary(self):
Undocumented
def test_getAffiliatedPillars_visible_to_self(self):
Undocumented
def test_getAffiliatedPillars_visible_to_admins(self):
Undocumented
def test_getAffiliatedPillars_visible_to_commercial_admins(self):
Undocumented
def test_no_merge_pending(self):
Undocumented
def test_isMergePending(self):
Undocumented
def test_mergeAsync_success(self):
Undocumented
def test_selfgenerated_bugnotifications_false_by_default(self):
Undocumented
def test_expanded_notification_footers_false_by_default(self):
Undocumented
def test_require_strong_email_authentication_false_by_default(self):
Undocumented
def test_require_strong_email_authentication_permissions(self):
Undocumented
def test_canAccess__anonymous(self):
Undocumented
def test_canAccess__checking_own_permissions(self):
Undocumented
def test_canAccess__checking_permissions_of_others(self):
Undocumented
def test_canWrite__anonymous(self):
Undocumented
def test_canWrite__checking_own_permissions(self):
Undocumented
def test_canWrite__checking_permissions_of_others(self):
Undocumented
def makeSubscribedDistroSourcePackages(self):
Undocumented
def test_getBugSubscriberPackages(self):
Undocumented
def test_getBugSubscriberPackages__one_query(self):
Undocumented
def createCopiedPackage(self, spph, copier, dest_distroseries=None, dest_archive=None):
Undocumented
def test_getLatestSynchronisedPublishings_most_recent_first(self):
Undocumented
def test_getLatestSynchronisedPublishings_other_creator(self):
Undocumented
def test_getLatestSynchronisedPublishings_latest(self):
Undocumented
def test_getLatestSynchronisedPublishings_cross_archive_copies(self):
Undocumented
def test_getLatestSynchronisedPublishings_main_archive(self):
Undocumented
def test_product_isAnyPillarOwner(self):
Undocumented
def test_projectgroup_isAnyPillarOwner(self):
Undocumented
def test_distribution_isAnyPillarOwner(self):
Undocumented
def test_has_current_commercial_subscription(self):
Undocumented
def test_does_not_have_current_commercial_subscription(self):
Undocumented
def test_does_not_have_commercial_subscription(self):
Undocumented
def test_commercial_admin_with_checkAllowVisibility(self):
Undocumented
def test_can_not_set_visibility(self):
Undocumented
def test_private_team_has_personal_access_policy(self):
Undocumented
def test_public_team_has_no_personal_access_policy(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2019-11-19 00:00:37.