def test_basic_faulty(check: str): configuration = CONFIG_DIR / (check + "_faulty.conf") method = get_method(check, cisco_nxos) if not method: return bad_result = method(configuration) assert bad_result is not None
def test_basic_good(check: str): configuration = CONFIG_DIR / (check + "_good.conf") method = get_method(check, cisco_nxos) if not method: return good_result = method(configuration) assert good_result is None
def test_basic_good(check: str): configuration = CONFIG_DIR / (check + "_good.conf") assert configuration.is_file(), f"You need to add a file called {configuration}." method = get_method(check, cisco_ios) if not method: return good_result = method(configuration) assert good_result is None