Updated test_settings.py

pull/12/merge
Sheng 2018-04-23 17:11:07 +08:00
parent 5245560b81
commit 3165cf2399
1 changed files with 3 additions and 1 deletions

View File

@ -52,6 +52,8 @@ class TestSettings(unittest.TestCase):
try:
instance = get_policy_setting(options, settings)
except ValueError:
pass
self.assertFalse(
settings['host_keys'] and settings['system_host_keys']
)
else:
self.assertIsInstance(instance, paramiko.client.RejectPolicy)