def test_build_address(mock_module):
    """
    cl_interface: - test building desired address config
    """
    mock_module.custom_desired_config = {"config": {}}
    mock_module.params = {"ipv4": ["1.1.1.1/24"], "ipv6": ["2001:db8:abcd::/48"]}
    cl_int.build_address(mock_module)
    assert_equals(mock_module.custom_desired_config, {"config": {"address": ["1.1.1.1/24", "2001:db8:abcd::/48"]}})
def test_build_address(mock_module):
    """
    cl_interface: - test building desired address config
    """
    mock_module.custom_desired_config = {'config': {}}
    mock_module.params = {'ipv4': ['1.1.1.1/24'], 'ipv6': ['2001:db8:abcd::/48']}
    cl_int.build_address(mock_module)
    assert_equals(mock_module.custom_desired_config,
                  {'config': {'address': '1.1.1.1/24 2001:db8:abcd::/48'}})