'Test current_config with config for port'

def test_current_config_with_config(self):

    module = Mock()
    module.params = dict(switch_name='eos', switch_port='3')
    config = '!\ninterface    Ethernet3\n            description    test\n!\ninterface    Ethernet4\n!'
    result = cv_server_provision.current_config(module, config)
    self.assertIsNotNone(result)
    self.assertEqual(result, 'interface    Ethernet3\n            description    test\n!')
