'Test updated_configlet_content. Add config.'

def test_updated_configlet_content_add(self):

    module = Mock()
    module.params = dict(switch_name='eos', switch_port='3')
    existing_config = '!\ninterface    Ethernet3\n!\ninterface    Ethernet4\n!'
    new_config_block = 'interface    Ethernet3\n            description    test\n!'
    result = cv_server_provision.updated_configlet_content(module, existing_config, new_config_block)
    expected = '!\ninterface    Ethernet3\n            description    test\n!\ninterface    Ethernet4\n!'
    self.assertEqual(result, expected)
    module.fail_json.assert_not_called()
