1
0
mirror of https://github.com/CMiksche/gitea-auto-update synced 2025-12-10 07:57:23 +01:00

Add test case for suffix

This commit is contained in:
Christoph Miksche
2019-05-19 17:25:37 +02:00
parent b36bdadda0
commit 556cd25b91

View File

@@ -26,5 +26,8 @@ class Tests(unittest.TestCase):
def testInt(self):
self.assertTrue(functions.checkVersion('9', '8'))
def testSuffix(self):
self.assertTrue(functions.checkVersion('1.9.0+dev-264-g8de76b6e6', '1.8.0'))
if __name__ == '__main__':
unittest.main()