def test_function_params(): """ Проверка имен и количества параметров """ check_function_params( function=task_11_2.create_network_map, param_count=1, param_names=["filenames"] )
def test_function_params(): """ Проверка имен и количества параметров """ check_function_params( function=task_9_4.convert_config_to_dict, param_count=1, param_names=["config_filename"], )
def test_function_params(): """ Проверка имен и количества параметров """ check_function_params( function=task_11_1.parse_cdp_neighbors, param_count=1, param_names=["command_output"], )
def test_function_params(): """ Проверка имен и количества параметров """ check_function_params( function=task_9_2.generate_trunk_config, param_count=2, param_names=["intf_vlan_mapping", "trunk_template"], )
def test_function_params(): """ Проверка имен и количества параметров """ check_function_params( function=task_9_1a.generate_access_config, param_count=3, param_names=["intf_vlan_mapping", "access_template", "psecurity"], )
def test_function_params(): check_function_params(function=task_17_2a.generate_topology_from_cdp, param_count=2, param_names=['list_of_files', 'save_to_filename']) default_values = get_func_params_default_value( task_17_2a.generate_topology_from_cdp) assert default_values.get( 'save_to_filename' ) == None, "У параметра save_to_filename значение по умолчанию должно быть None"
def test_function_params(): """ Проверка имен и количества параметров """ check_function_params( function=task_9_3.get_int_vlan_map, param_count=1, param_names=["config_filename"], )
def test_function_params(): """ Проверка имен и количества параметров """ check_function_params( function=task_19_3.send_commands, param_count=3, param_names=["device", "config", "show"], )
def test_function_params(): check_function_params( function=task_17_3a.generate_topology_from_cdp, param_count=2, param_names=["list_of_files", "save_to_filename"], ) default_values = get_func_params_default_value( task_17_3a.generate_topology_from_cdp) assert ( default_values.get("save_to_filename") == None ), "У параметра save_to_filename значение по умолчанию должно быть None"
def test_function_params(): check_function_params(function=task_9_2a.generate_trunk_config, param_count=2, param_names=['intf_vlan_mapping', 'trunk_template'])
def test_function_params(): check_function_params( function=task_9_1a.generate_access_config, param_count=3, param_names=["intf_vlan_mapping", "access_template", "psecurity"], )
def test_function_params(): check_function_params( function=task_9_1a.generate_access_config, param_count=3, param_names=['intf_vlan_mapping', 'access_template', 'psecurity'])
def test_function_params(): check_function_params(function=task_11_1.parse_cdp_neighbors, param_count=1, param_names=['command_output'])
def test_function_params(): check_function_params(function=task_14_1.generate_access_config, param_count=1, param_names=['intf_vlan_mapping'])
def test_function_params(): check_function_params( function=task_9_3.get_int_vlan_map, param_count=1, param_names=["config_filename"], )
def test_function_params(): check_function_params(function=task_11_2.create_network_map, param_count=1, param_names=['cfg_files'])
def test_function_params(): check_function_params(function=task_9_4.convert_config_to_dict, param_count=1, param_names=['config_filename'])
def test_function_params(): check_function_params( function=task_19_3.send_commands, param_count=3, param_names=["device", "config", "show"], )
def test_function_params(): check_function_params( function=task_9_2.generate_trunk_config, param_count=2, param_names=["intf_vlan_mapping", "trunk_template"], )
def test_function_params(): check_function_params(function=task_19_3.send_commands, param_count=3, param_names=['device', 'config', 'show'])