Commit 5dd08a72 by Sheng

Updated test_settings.py

parent 99d4b5fb
...@@ -44,6 +44,7 @@ class TestSettings(unittest.TestCase): ...@@ -44,6 +44,7 @@ class TestSettings(unittest.TestCase):
settings = get_host_keys_settings(options) settings = get_host_keys_settings(options)
instance = get_policy_setting(options, settings) instance = get_policy_setting(options, settings)
self.assertIsInstance(instance, paramiko.client.AutoAddPolicy) self.assertIsInstance(instance, paramiko.client.AutoAddPolicy)
os.unlink(settings['host_keys_filename'])
options.policy = 'reject' options.policy = 'reject'
options.hostFile = '' options.hostFile = ''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment