mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-30 06:11:26 -07:00
Add support for netconf network discovery (#25435)
* Add support for netconf network discovery * Fix unit test failure
This commit is contained in:
parent
b1e608811b
commit
3bd8dbb53d
4 changed files with 65 additions and 14 deletions
|
@ -72,6 +72,7 @@ class TestNetconfConnectionClass(unittest.TestCase):
|
|||
mock_manager = MagicMock(name='self._manager.connect')
|
||||
type(mock_manager).session_id = PropertyMock(return_value='123456789')
|
||||
netconf.manager.connect.return_value = mock_manager
|
||||
conn._play_context.network_os = 'default'
|
||||
|
||||
rc, out, err = conn._connect()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue