l.c.m.t.t.TestNamespaceSet(TestCaseWithFactory) : class documentation

Part of lp.code.model.tests.test_branchnamespace View In Hierarchy

Tests for get_namespace.
Method setUp Undocumented
Method test_get_personal Undocumented
Method test_get_product Undocumented
Method test_get_package Undocumented
Method test_lookup_personal Undocumented
Method test_lookup_personal_not_found Undocumented
Method test_lookup_product Undocumented
Method test_lookup_product_not_found Undocumented
Method test_lookup_package Undocumented
Method test_lookup_package_no_distribution Undocumented
Method test_lookup_package_no_distroseries Undocumented
Method test_lookup_package_no_source_package Undocumented
Method assertInvalidName Assert that 'name' is an invalid namespace name.
Method test_lookup_invalid_name Undocumented
Method test_lookup_short_name_person_only Undocumented
Method test_lookup_short_name_person_and_distro Undocumented
Method test_lookup_short_name_distroseries Undocumented
Method test_lookup_long_name_junk Undocumented
Method test_lookup_long_name_product Undocumented
Method test_lookup_long_name_sourcepackage Undocumented
Method test_parse_junk_namespace Undocumented
Method test_parse_product_namespace Undocumented
Method test_parse_package_namespace Undocumented
Method test_interpret_product_aliases Undocumented
Method test_traverse_junk_branch Undocumented
Method test_traverse_junk_branch_not_found Undocumented
Method test_traverse_person_not_found Undocumented
Method test_traverse_product_branch Undocumented
Method test_traverse_project_branch Undocumented
Method test_traverse_package_branch Undocumented
Method test_traverse_product_not_found Undocumented
Method test_traverse_package_branch_aliases Undocumented
Method test_traverse_distribution_not_found Undocumented
Method test_traverse_distroseries_not_found Undocumented
Method test_traverse_sourcepackagename_not_found Undocumented
Method test_traverse_leaves_trailing_segments Undocumented
Method test_too_few_segments Undocumented
Method test_last_segment_none Undocumented
Method _getSegments Return an iterable of the branch name segments.

Inherited from TestCaseWithFactory:

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 setUp(self):
Undocumented
def test_get_personal(self):
Undocumented
def test_get_product(self):
Undocumented
def test_get_package(self):
Undocumented
def test_lookup_personal(self):
Undocumented
def test_lookup_personal_not_found(self):
Undocumented
def test_lookup_product(self):
Undocumented
def test_lookup_product_not_found(self):
Undocumented
def test_lookup_package(self):
Undocumented
def test_lookup_package_no_distribution(self):
Undocumented
def test_lookup_package_no_distroseries(self):
Undocumented
def test_lookup_package_no_source_package(self):
Undocumented
def assertInvalidName(self, name):
Assert that 'name' is an invalid namespace name.
def test_lookup_invalid_name(self):
Undocumented
def test_lookup_short_name_person_only(self):
Undocumented
def test_lookup_short_name_person_and_distro(self):
Undocumented
def test_lookup_short_name_distroseries(self):
Undocumented
def test_lookup_long_name_junk(self):
Undocumented
def test_lookup_long_name_product(self):
Undocumented
def test_lookup_long_name_sourcepackage(self):
Undocumented
def test_parse_junk_namespace(self):
Undocumented
def test_parse_product_namespace(self):
Undocumented
def test_parse_package_namespace(self):
Undocumented
def test_interpret_product_aliases(self):
Undocumented
def _getSegments(self, branch):
Return an iterable of the branch name segments.

Note that the person element is not proceeded by a tilde.

def test_traverse_junk_branch(self):
Undocumented
def test_traverse_junk_branch_not_found(self):
Undocumented
def test_traverse_person_not_found(self):
Undocumented
def test_traverse_product_branch(self):
Undocumented
def test_traverse_project_branch(self):
Undocumented
def test_traverse_package_branch(self):
Undocumented
def test_traverse_product_not_found(self):
Undocumented
def test_traverse_package_branch_aliases(self):
Undocumented
def test_traverse_distribution_not_found(self):
Undocumented
def test_traverse_distroseries_not_found(self):
Undocumented
def test_traverse_sourcepackagename_not_found(self):
Undocumented
def test_traverse_leaves_trailing_segments(self):
Undocumented
def test_too_few_segments(self):
Undocumented
def test_last_segment_none(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2019-12-15 00:00:11.