commit 5dd08a72a56a12259c9061ccb0a2a0cbd209dea8
parent 99d4b5fbea1906e96571dbdfaa57403c530dcf55
Author: Sheng <webmaster0115@gmail.com>
Date: Tue, 24 Apr 2018 09:06:27 +0800
Updated test_settings.py
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/tests/test_settings.py b/tests/test_settings.py
@@ -44,6 +44,7 @@ class TestSettings(unittest.TestCase):
settings = get_host_keys_settings(options)
instance = get_policy_setting(options, settings)
self.assertIsInstance(instance, paramiko.client.AutoAddPolicy)
+ os.unlink(settings['host_keys_filename'])
options.policy = 'reject'
options.hostFile = ''