Public Member Functions | |
| def | test_compare |
| def | test_match |
| def | test_validate_invalid |
| def | test_validate_valid |
Static Public Attributes | |
| tuple | invalid_strings |
| tuple | matches |
| tuple | valid_strings |
| tuple | versions |
Test module-level functions.
Definition at line 59 of file test_base.py.
| def tests.test_base.TopLevelTestCase.test_compare | ( | self | ) |
Definition at line 70 of file test_base.py.
| def tests.test_base.TopLevelTestCase.test_match | ( | self | ) |
Definition at line 83 of file test_base.py.
Definition at line 123 of file test_base.py.
Definition at line 107 of file test_base.py.
tuple tests::test_base.TopLevelTestCase::invalid_strings [static] |
(
'1',
'v1',
'1.2.3.4',
'1.2',
'1.2a3',
'1.2.3a4',
'v12.34.5',
'1.2.3+4+5',
)
Definition at line 112 of file test_base.py.
tuple tests::test_base.TopLevelTestCase::matches [static] |
(
('>=0.1.1', '0.1.2'),
('>=0.1.1', '0.1.1'),
('>=0.1.1', '0.1.1-alpha'),
('>=0.1.1,!=0.2.0', '0.2.1'),
)
Definition at line 76 of file test_base.py.
tuple tests::test_base.TopLevelTestCase::valid_strings [static] |
(
'1.0.0-alpha',
'1.0.0-alpha.1',
'1.0.0-beta.2',
'1.0.0-beta.11',
'1.0.0-rc.1',
'1.0.0-rc.1+build.1',
'1.0.0',
'1.0.0+0.3.7',
'1.3.7+build',
'1.3.7+build.2.b8f12d7',
'1.3.7+build.11.e0f985a',
'1.1.1',
'1.1.2',
'1.1.3-rc4.5',
'1.1.3-rc42.3-14-15.24+build.2012-04-13.223',
'1.1.3+build.2012-04-13.HUY.alpha-12.1',
)
Definition at line 88 of file test_base.py.
tuple tests::test_base.TopLevelTestCase::versions [static] |
(
('0.1.0', '0.1.1', -1),
('0.1.1', '0.1.1', 0),
('0.1.1', '0.1.0', 1),
('0.1.0-alpha', '0.1.0', -1),
('0.1.0-alpha+2', '0.1.0-alpha', 1),
)
Definition at line 62 of file test_base.py.