summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tests/test_hostkeys.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_hostkeys.py b/tests/test_hostkeys.py
index e375687c..41a9244f 100644
--- a/tests/test_hostkeys.py
+++ b/tests/test_hostkeys.py
@@ -132,10 +132,10 @@ class HostKeysTest(unittest.TestCase):
assert False, "Entry was not deleted from HostKeys on delitem!"
def test_entry_delitem(self):
- hostdict = paramiko.HostKeys('hostfile.temp')
- target = 'happy.example.com'
+ hostdict = paramiko.HostKeys("hostfile.temp")
+ target = "happy.example.com"
entry = hostdict[target]
- key_type_list = [ key_type for key_type in entry ]
+ key_type_list = [key_type for key_type in entry]
for key_type in key_type_list:
del entry[key_type]
@@ -144,6 +144,6 @@ class HostKeysTest(unittest.TestCase):
try:
del entry[key_type]
except KeyError:
- pass # Good
+ pass # Good
else:
assert False, "Key was not deleted from Entry on delitem!"