def check_zip(test, temp_dir, org_name, artifact_name, version, files, dependencies):
    artifact_format = "%s-%s" % (artifact_name, version)
    zip = join(temp_dir, artifact_format + ".zip" )
    test.assertTrue(isfile(zip))
    with zipfile.PyZipFile(zip, 'r') as myzip:
        entries = myzip.namelist()
        test.assertTrue(artifact_format + ".pom" in entries)
        test.assertTrue(artifact_format + ".jar" in entries)
        check_jar(test, myzip.extract(artifact_format + ".jar", temp_dir), files)
        check_pom(test, myzip.open(artifact_format + ".pom"),
                  org_name, artifact_name, version, dependencies)
Select returns a list of weights and zone/host information
dataset/ETHPy150Open databricks/spark-package-cmd-tool/python/tests.py/check_zip--crossover with--dataset/ETHPy150Open nii-cloud/dodai-compute/nova/scheduler/abstract_scheduler.py/AbstractScheduler.select