class documentation

class CreatedUpdateTests(TestCase):

View In Hierarchy

Undocumented

Method setUp Undocumented
Method test_dev `incremental update package --dev` increments the dev version.
Method test_full_with_rc `incremental.update package`, when the package is a release candidate, will issue the major/minor, sans release candidate or dev.
Method test_full_without_rc `incremental.update package`, when the package is NOT a release candidate, will raise an error.
Method test_newversion `incremental.update package --newversion=1.2.3rc1.post2.dev3`, will set that version in the package.
Method test_newversion_bare `incremental.update package --newversion=1`, will set that version in the package.
Method test_newversion_bare_major_minor `incremental.update package --newversion=1.1`, will set that version in the package.
Method test_no_mix_create The `--create` flag can't be mixed with --patch, --rc, --post, --dev, or --newversion.
Method test_no_mix_dev The `--dev` flag can't be mixed with --patch, --rc, or --post.
Method test_no_mix_newversion The `--newversion` flag can't be mixed with --patch, --rc, --post, or --dev.
Method test_patch `incremental.update package --patch` increments the patch version.
Method test_patch_with_prerelease_and_dev `incremental update package --patch` increments the patch version, and disregards any old prerelease/dev versions.
Method test_path `incremental update package --path=<path> --dev` increments the dev version of the package on the given path
Method test_post `incremental.update package --post` increments the post version.
Method test_post_with_existing_post `incremental.update package --post` increments the post version if the existing version is an postrelease, and discards any dev version.
Method test_post_with_prerelease_and_dev `incremental.update package --post` increments the post version, and disregards any old prerelease/dev versions.
Method test_rc_patch `incremental update package --patch --rc` increments the patch version and makes it a release candidate.
Method test_rc_with_existing_rc `incremental update package --rc` increments the rc version if the existing version is an rc, and discards any dev version.
Method test_rc_with_no_rc `incremental update package --rc`, when the package is not a release candidate, will issue a new major/minor rc, and disregards the micro and dev.
Class Variable maxDiff Undocumented
Instance Variable date Undocumented
Instance Variable getcwd Undocumented
Instance Variable packagedir Undocumented
Instance Variable srcdir Undocumented
def setUp(self):

Undocumented

def test_dev(self):

`incremental update package --dev` increments the dev version.

def test_full_with_rc(self):

`incremental.update package`, when the package is a release candidate, will issue the major/minor, sans release candidate or dev.

def test_full_without_rc(self):

`incremental.update package`, when the package is NOT a release candidate, will raise an error.

def test_newversion(self):

`incremental.update package --newversion=1.2.3rc1.post2.dev3`, will set that version in the package.

def test_newversion_bare(self):

`incremental.update package --newversion=1`, will set that version in the package.

def test_newversion_bare_major_minor(self):

`incremental.update package --newversion=1.1`, will set that version in the package.

def test_no_mix_create(self):

The `--create` flag can't be mixed with --patch, --rc, --post, --dev, or --newversion.

def test_no_mix_dev(self):

The `--dev` flag can't be mixed with --patch, --rc, or --post.

def test_no_mix_newversion(self):

The `--newversion` flag can't be mixed with --patch, --rc, --post, or --dev.

def test_patch(self):

`incremental.update package --patch` increments the patch version.

def test_patch_with_prerelease_and_dev(self):

`incremental update package --patch` increments the patch version, and disregards any old prerelease/dev versions.

def test_path(self):

`incremental update package --path=<path> --dev` increments the dev version of the package on the given path

def test_post(self):

`incremental.update package --post` increments the post version.

def test_post_with_existing_post(self):

`incremental.update package --post` increments the post version if the existing version is an postrelease, and discards any dev version.

def test_post_with_prerelease_and_dev(self):

`incremental.update package --post` increments the post version, and disregards any old prerelease/dev versions.

def test_rc_patch(self):

`incremental update package --patch --rc` increments the patch version and makes it a release candidate.

def test_rc_with_existing_rc(self):

`incremental update package --rc` increments the rc version if the existing version is an rc, and discards any dev version.

def test_rc_with_no_rc(self):

`incremental update package --rc`, when the package is not a release candidate, will issue a new major/minor rc, and disregards the micro and dev.

maxDiff =

Undocumented

date =

Undocumented

getcwd =

Undocumented

packagedir =

Undocumented

srcdir =

Undocumented