def config(): return Config.load([CONFIG_DIR])
def config(): return Config.load(paths)
def test_missing_file(): config = Config.load([DIR_NAME]) assert config.file_path is None
def test_find_file(): # navigates up to find dir tree the config file httpbin_data = os.path.join(DIR_NAME, "httpbin/data") httpbin_config = os.path.join(DIR_NAME, "httpbin/rigor.yml") config = Config.load([httpbin_data]) assert config.file_path == httpbin_config
def root(): return Config.load([CONFIG_DIR])
def test_asgi(): config = Config.load(paths) suite = Suite.create(paths, config, app=asgi, concurrency=1, retries=0) result = execute(suite) assert result.success