rougail/tests/eosfunc/test.py
2020-10-04 17:25:42 +02:00

62 lines
864 B
Python

from tiramisu import valid_not_equal, valid_ip_netmask, calc_value
def calc_val(*args, **kwargs):
if len(args) > 0:
return args[0]
def concat(*args, **kwargs):
pass
def calc_multi_condition(*args, **kwargs):
pass
def get_zone_name_bridge(*args, **kwargs):
pass
def get_devices(*args, **kwargs):
pass
def get_mount_point_device(*args, **kwargs):
pass
def valid_differ(*args, **kwargs):
pass
def valid_ipnetmask(*args, **kwargs):
pass
def valid_enum(*args, **kwargs):
pass
def valid_lower(*args, **kwargs):
pass
def list_files(*args, **kwargs):
# FIXME ?
return kwargs['default']
def calc_multi_val(*args, **kwargs):
return args[0]
def cdrom_minormajor(*args, **kwargs):
pass
def device_type(*args, **kwargs):
pass
def calc_list(*args, **kwargs):
return list(args)