mirror of https://github.com/huashengdun/webssh
Updated test_settings.py
parent
5245560b81
commit
3165cf2399
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue