returning invalid security (#58595)

pull/58898/head
Chris Archibald 5 years ago committed by Jake Jackson
parent 9e67953b2e
commit 8731fc7a86

@ -177,7 +177,7 @@ class NetAppONTAPGatherFacts(object):
'kwargs': {
'call': 'security-login-get-iter',
'attribute': 'security-login-account-info',
'field': ('user-name', 'application', 'authentication-method'),
'field': ('vserver', 'user-name', 'application', 'authentication-method'),
'query': {'max-records': '1024'},
},
'min_version': '0',

@ -9,7 +9,7 @@ import pytest
import sys
from units.compat import unittest
from units.compat.mock import patch
from units.compat.mock import patch, Mock
from ansible.module_utils import basic
from ansible.module_utils._text import to_bytes
import ansible.module_utils.netapp as netapp_utils
@ -64,7 +64,6 @@ class MockONTAPConnection(object):
def invoke_successfully(self, xml, enable_tunneling): # pylint: disable=unused-argument
''' mock invoke_successfully returning xml data '''
self.xml_in = xml
print(xml.to_string())
if self.type == 'vserver':
xml = self.build_vserver_info()
elif self.type == 'net_port':

Loading…
Cancel
Save