l.r.t.t.CurrentSourceReleasesMixin : class documentation

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

Known subclasses: lp.registry.tests.test_distribution.TestDistributionCurrentSourceReleases, lp.registry.tests.test_distroseries.TestDistroSeriesCurrentSourceReleases

Mixin class for current source release tests.

Used by tests of DistroSeries and Distribution. The mixin must not extend TestCase or it will be run by other modules when imported.

Method setUp Undocumented
Method assertCurrentVersion Assert the current version of a package is the expected one.
Method test_one_release Undocumented
Method test_return_value Undocumented
Method test_latest_version Undocumented
Method test_active_publishing_status Undocumented
Method test_not_active_publishing_status Undocumented
Method test_ignore_other_package_names Undocumented
Method ignore_other_distributions Undocumented
Method test_ignore_ppa Undocumented
Method test_get_multiple Undocumented
def setUp(self):
Undocumented
def assertCurrentVersion(self, expected_version, package_name=None):
Assert the current version of a package is the expected one.

It uses getCurrentSourceReleases() to get the version.

If package_name isn't specified, the test publisher's default name is used.

def test_one_release(self):
Undocumented
def test_return_value(self):
Undocumented
def test_latest_version(self):
Undocumented
def test_active_publishing_status(self):
Undocumented
def test_not_active_publishing_status(self):
Undocumented
def test_ignore_other_package_names(self):
Undocumented
def ignore_other_distributions(self):
Undocumented
def test_ignore_ppa(self):
Undocumented
def test_get_multiple(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2019-10-19 00:00:05.