l.b.t.t.SpecificationTests(TestCaseWithFactory) : class documentation

Part of lp.blueprints.tests.test_specification View In Hierarchy

No class docstring
Method test_target_driver_has_edit_rights Drivers of a blueprint's target can edit that blueprint.
Method test_auto_accept_of_goal_for_drivers Drivers of a series accept the goal when they propose.
Method test_goal_not_accepted_for_non_drivers People who aren't drivers don't have their proposals approved.
Method test_retarget_existing_specification An error is raised if the name is already taken.
Method test_retarget_is_protected Undocumented
Method test_validate_move_existing_specification An error is raised by validateMove if the name is already taken.
Method test_setTarget Undocumented
Method test_setTarget_is_protected Undocumented
Method test_get_permissions Undocumented
Method test_set_permissions Undocumented
Method test_security_adapters Undocumented
Method read_access_to_ISpecificationView Undocumented
Method write_access_to_ISpecificationView Undocumented
Method test_anon_read_access Undocumented
Method test_anon_write_access Undocumented
Method test_ordinary_user_read_access Undocumented
Method test_ordinary_user_write_access Undocumented
Method test_user_with_grant_for_target_read_access Undocumented
Method test_user_with_grant_for_specification_read_access Undocumented
Method test_user_with_grant_for_specification_write_access Undocumented
Method test_special_user_write_access Undocumented
Method test_registry_write_access Undocumented
Method test_get_specification_privacy_filter Undocumented
Method test_subscribe_to_proprietary_spec Undocumented
Method test_unsubscribe_from_proprietary_spec Undocumented
Method test_notificationRecipientAddresses_filters_based_on_sharing Undocumented
Method _fetch_specs_visible_for_user 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_target_driver_has_edit_rights(self):
Drivers of a blueprint's target can edit that blueprint.
def test_auto_accept_of_goal_for_drivers(self):
Drivers of a series accept the goal when they propose.
def test_goal_not_accepted_for_non_drivers(self):
People who aren't drivers don't have their proposals approved.
def test_retarget_existing_specification(self):
An error is raised if the name is already taken.
def test_retarget_is_protected(self):
Undocumented
def test_validate_move_existing_specification(self):
An error is raised by validateMove if the name is already taken.
def test_setTarget(self):
Undocumented
def test_setTarget_is_protected(self):
Undocumented
def test_get_permissions(self):
Undocumented
def test_set_permissions(self):
Undocumented
def test_security_adapters(self):
Undocumented
def read_access_to_ISpecificationView(self, user, specification, error_expected):
Undocumented
def write_access_to_ISpecificationView(self, user, specification, error_expected, attribute, value):
Undocumented
def test_anon_read_access(self):
Undocumented
def test_anon_write_access(self):
Undocumented
def test_ordinary_user_read_access(self):
Undocumented
def test_ordinary_user_write_access(self):
Undocumented
def test_user_with_grant_for_target_read_access(self):
Undocumented
def test_user_with_grant_for_specification_read_access(self):
Undocumented
def test_user_with_grant_for_specification_write_access(self):
Undocumented
def test_special_user_write_access(self):
Undocumented
def test_registry_write_access(self):
Undocumented
def _fetch_specs_visible_for_user(self, user):
Undocumented
def test_get_specification_privacy_filter(self):
Undocumented
def test_subscribe_to_proprietary_spec(self):
Undocumented
def test_unsubscribe_from_proprietary_spec(self):
Undocumented
def test_notificationRecipientAddresses_filters_based_on_sharing(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2018-08-18 00:00:04.