def assert_env():
    must_exist = ('ERISYON_ROOT', 'JOBS_FOLDER')
    found = 0
    for e in must_exist:
        if (e in local.env):
            found += 1
        else:
            print(f'Environment variable "{e}" not found.')
    if (found != len(must_exist)):
        raise CommandError(f'Environment variable(s) not found.')
def assert_env():
    must_exist = ('ERISYON_ROOT', 'JOBS_FOLDER')
    found = 0
    for e in must_exist:
        if (e in local.env):
            found += 1
        else:
            print(f'Environment variable "{e}" not found.')
    if (found != len(must_exist)):
        raise CommandError(f'Environment variable(s) not found.')