Public Member Functions | |
| def | test_compare_partial_to_self |
| def | test_compare_to_self |
| def | test_hash |
| def | test_invalid_comparisons |
| def | test_parsing |
| def | test_parsing_partials |
| def | test_str |
| def | test_str_partials |
Static Public Attributes | |
| dictionary | partial_versions |
| dictionary | versions |
Definition at line 129 of file test_base.py.
Definition at line 208 of file test_base.py.
Definition at line 164 of file test_base.py.
| def tests.test_base.VersionTestCase.test_hash | ( | self | ) |
Definition at line 215 of file test_base.py.
Definition at line 231 of file test_base.py.
| def tests.test_base.VersionTestCase.test_parsing | ( | self | ) |
Definition at line 151 of file test_base.py.
Definition at line 194 of file test_base.py.
| def tests.test_base.VersionTestCase.test_str | ( | self | ) |
Definition at line 158 of file test_base.py.
Definition at line 202 of file test_base.py.
dictionary tests::test_base.VersionTestCase::partial_versions [static] |
{
'1.1': (1, 1, None, None, None),
'2': (2, None, None, None, None),
'1.0.0-alpha': (1, 0, 0, ('alpha',), None),
'1.0.0-alpha.1': (1, 0, 0, ('alpha', '1'), None),
'1.0.0-beta.2': (1, 0, 0, ('beta', '2'), None),
'1.0.0-beta.11': (1, 0, 0, ('beta', '11'), None),
'1.0.0-rc.1': (1, 0, 0, ('rc', '1'), None),
'1.0.0': (1, 0, 0, None, None),
'1.1.1': (1, 1, 1, None, None),
'1.1.2': (1, 1, 2, None, None),
'1.1.3-rc4.5': (1, 1, 3, ('rc4', '5'), None),
'1.0.0-': (1, 0, 0, (), None),
'1.0.0+': (1, 0, 0, (), ()),
'1.0.0-rc.1+build.1': (1, 0, 0, ('rc', '1'), ('build', '1')),
'1.0.0+0.3.7': (1, 0, 0, (), ('0', '3', '7')),
'1.3.7+build': (1, 3, 7, (), ('build',)),
'1.3.7+build.2.b8f12d7': (1, 3, 7, (), ('build', '2', 'b8f12d7')),
'1.3.7+build.11.e0f985a': (1, 3, 7, (), ('build', '11', 'e0f985a')),
'1.1.3-rc42.3-14-15.24+build.2012-04-13.223':
(1, 1, 3, ('rc42', '3-14-15', '24'), ('build', '2012-04-13', '223')),
'1.1.3+build.2012-04-13.HUY.alpha-12.1':
(1, 1, 3, (), ('build', '2012-04-13', 'HUY', 'alpha-12', '1')),
}
Definition at line 169 of file test_base.py.
dictionary tests::test_base.VersionTestCase::versions [static] |
{
'1.0.0-alpha': (1, 0, 0, ('alpha',), ()),
'1.0.0-alpha.1': (1, 0, 0, ('alpha', '1'), ()),
'1.0.0-beta.2': (1, 0, 0, ('beta', '2'), ()),
'1.0.0-beta.11': (1, 0, 0, ('beta', '11'), ()),
'1.0.0-rc.1': (1, 0, 0, ('rc', '1'), ()),
'1.0.0-rc.1+build.1': (1, 0, 0, ('rc', '1'), ('build', '1')),
'1.0.0': (1, 0, 0, (), ()),
'1.0.0+0.3.7': (1, 0, 0, (), ('0', '3', '7')),
'1.3.7+build': (1, 3, 7, (), ('build',)),
'1.3.7+build.2.b8f12d7': (1, 3, 7, (), ('build', '2', 'b8f12d7')),
'1.3.7+build.11.e0f985a': (1, 3, 7, (), ('build', '11', 'e0f985a')),
'1.1.1': (1, 1, 1, (), ()),
'1.1.2': (1, 1, 2, (), ()),
'1.1.3-rc4.5': (1, 1, 3, ('rc4', '5'), ()),
'1.1.3-rc42.3-14-15.24+build.2012-04-13.223':
(1, 1, 3, ('rc42', '3-14-15', '24'), ('build', '2012-04-13', '223')),
'1.1.3+build.2012-04-13.HUY.alpha-12.1':
(1, 1, 3, (), ('build', '2012-04-13', 'HUY', 'alpha-12', '1')),
}
Definition at line 130 of file test_base.py.