returning invalid security (#58595)
This commit is contained in:
parent
9e67953b2e
commit
8731fc7a86
2 changed files with 2 additions and 3 deletions
|
@ -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…
Reference in a new issue