Ejemplo n.º 1
0
 def check_version_compatibility(self):
     minimum_version = get_minimum_compatible_version()
     if version_compare(__version__, minimum_version) < 0:
         raise ValueError(
             f"Incompatible Version of lightly pip package. "
             f"Please upgrade to at least version {minimum_version} "
             f"to be able to access the api and webapp")
Ejemplo n.º 2
0
 def test_get_minimum_compatible_version(self):
     get_minimum_compatible_version()