mirror of
https://github.com/datafolklabs/cement.git
synced 2026-02-06 13:42:03 +00:00
Fix version test
This commit is contained in:
parent
fd17ca35aa
commit
3f6579f058
@ -5,7 +5,7 @@ from cement.utils import version, test
|
||||
class VersionUtilsTestCase(test.CementCoreTestCase):
|
||||
def test_get_version(self):
|
||||
ver = version.get_version()
|
||||
self.ok(ver.startswith('2.3'))
|
||||
self.ok(ver.startswith('2.5'))
|
||||
|
||||
ver = version.get_version((2, 1, 1, 'alpha', 1))
|
||||
self.eq(ver, '2.1.1a1')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user