updates netconf to use persistent socket (#21307)

This commit is contained in:
Peter Sprygada 2017-02-12 09:05:23 -05:00 committed by GitHub
parent b8f138cabb
commit 92aa92ebd2
3 changed files with 9 additions and 18 deletions

View file

@ -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())