mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-28 13:21:25 -07:00
updates netconf to use persistent socket (#21307)
This commit is contained in:
parent
b8f138cabb
commit
92aa92ebd2
3 changed files with 9 additions and 18 deletions
|
@ -118,16 +118,4 @@ class TestNetconfConnectionClass(unittest.TestCase):
|
|||
self.assertEqual('', out)
|
||||
self.assertEqual('unable to parse request', err)
|
||||
|
||||
def test_fetch_file(self):
|
||||
pc = PlayContext()
|
||||
new_stdin = StringIO()
|
||||
conn = netconf.Connection(pc, new_stdin)
|
||||
self.assertIsNone(conn.fetch_file())
|
||||
|
||||
def test_put_file(self):
|
||||
pc = PlayContext()
|
||||
new_stdin = StringIO()
|
||||
conn = netconf.Connection(pc, new_stdin)
|
||||
self.assertIsNone(conn.put_file())
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue