'Test configlet_action show returns current port configuration.'

def test_configlet_action_show_blank_config(self):

    module = Mock()
    module.params = dict(action='show', switch_name='eos', switch_port='3')
    config = '!\ninterface    Ethernet3\n!\ninterface    Ethernet4\n!'
    configlet = dict(name='eos-server', key='key', config=config)
    result = cv_server_provision.configlet_action(module, configlet)
    self.assertIsNotNone(result)
    self.assertEqual(result['currentConfigBlock'], 'interface    Ethernet3\n!')
    module.client.api.update_configlet.assert_not_called()
