diff options
author | Robey Pointer <robey@lag.net> | 2006-03-11 20:06:33 -0800 |
---|---|---|
committer | Robey Pointer <robey@lag.net> | 2006-03-11 20:06:33 -0800 |
commit | ece62093bd426899b60e83a62451465629b8b90f (patch) | |
tree | bb3dc03caa7655bddad76a2ddbeaf2653545f355 /tests | |
parent | 862e1f48e32f874ee489002b067f175b3a851644 (diff) |
[project @ robey@lag.net-20060312040633-92b1c78bf815905d]
add test to verify that 'for x in hostkeys' works
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_hostkeys.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_hostkeys.py b/tests/test_hostkeys.py index 6f8eb57e..4eb46d38 100644 --- a/tests/test_hostkeys.py +++ b/tests/test_hostkeys.py @@ -82,3 +82,8 @@ class HostKeysTest (unittest.TestCase): self.assertTrue(x is not None) fp = paramiko.util.hexify(x['ssh-rsa'].get_fingerprint()) self.assertEquals('E6684DB30E109B67B70FF1DC5C7F1363', fp) + i = 0 + for key in hostdict: + i += 1 + self.assertEquals(2, i) + |