CoolFace
Apppublic

k20hcmus/FishEye8K

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
3likes
asserts.py14 linesDownload Raw Back to utils
1from os import environ2 3 4def assert_in(file, files_to_check):5    if file not in files_to_check:6        raise AssertionError("{} does not exist in the list".format(str(file)))7    return True8 9 10def assert_in_env(check_list: list):11    for item in check_list:12        assert_in(item, environ.keys())13    return True14