Пример #1
0
 def test_is_new_version(self):
     """
     Checking versions trigger an update
     """
     self.assertTrue(is_new_version("0.41.0", "0.41.1"))
     self.assertTrue(is_new_version("0.41.0", "0.42"))
     self.assertFalse(is_new_version("0.41", "0.41.0"))
     self.assertFalse(is_new_version("0.41.1", "0.41.1"))