def check_pool_exists(): """The config file specifies a pool that the testing will be happening on, make sure that the pool exists""" if not ZfsApi.zpool_exists(Configs.main_pool): print("The main pool in config.cfg is " + Configs.main_pool + " however no pool by that name was found. Is your pool setup?") sys.exit(1)