l.a.t.t.VersionTests(unittest.TestCase) : class documentation

Part of lp.archivepublisher.tests.test_debversion View In Hierarchy

No class docstring
Method testAcceptsString Version should accept a string input.
Method testReturnString Version should convert to a string.
Method testAcceptsInteger Version should accept an integer.
Method testAcceptsNumber Version should accept a number.
Method testNotEmpty Version should fail with empty input.
Method testEpochNotEmpty Version should fail with empty epoch.
Method testEpochNonNumeric Version should fail with non-numeric epoch.
Method testEpochNonInteger Version should fail with non-integral epoch.
Method testEpochNonNegative Version should fail with a negative epoch.
Method testUpstreamNotEmpty Version should fail with empty upstream.
Method testUpstreamNonDigitStart Version should fail when upstream doesn't start with a digit.
Method testUpstreamInvalid Version should fail when upstream contains a bad character.
Method testRevisionNotEmpty Version should not allow an empty revision.
Method testRevisionInvalid Version should fail when revision contains a bad character.
Method testValues Version should give same input as output.
Method testComparisons Sample Version comparisons should pass.
Method testNullEpochIsZero Version should treat an omitted epoch as a zero one.
Method notestNullRevisionIsZero Version should treat an omitted revision as being equal to zero.
def testAcceptsString(self):
Version should accept a string input.
def testReturnString(self):
Version should convert to a string.
def testAcceptsInteger(self):
Version should accept an integer.
def testAcceptsNumber(self):
Version should accept a number.
def testNotEmpty(self):
Version should fail with empty input.
def testEpochNotEmpty(self):
Version should fail with empty epoch.
def testEpochNonNumeric(self):
Version should fail with non-numeric epoch.
def testEpochNonInteger(self):
Version should fail with non-integral epoch.
def testEpochNonNegative(self):
Version should fail with a negative epoch.
def testUpstreamNotEmpty(self):
Version should fail with empty upstream.
def testUpstreamNonDigitStart(self):
Version should fail when upstream doesn't start with a digit.
def testUpstreamInvalid(self):
Version should fail when upstream contains a bad character.
def testRevisionNotEmpty(self):
Version should not allow an empty revision.
def testRevisionInvalid(self):
Version should fail when revision contains a bad character.
def testValues(self):
Version should give same input as output.
def testComparisons(self):
Sample Version comparisons should pass.
def testNullEpochIsZero(self):
Version should treat an omitted epoch as a zero one.
def notestNullRevisionIsZero(self):
Version should treat an omitted revision as being equal to zero.
API Documentation for Launchpad, generated by pydoctor at 2019-11-16 00:00:19.