'Constructing a plain text entry from an unhashed known_hosts entry will
result in an L{IKnownHostEntry} provider with \'keyString\', \'hostname\',
and \'keyType\' attributes.  While outside the interface in question,
these attributes are held in common by L{PlainEntry} and L{HashedEntry}
implementations; other implementations should override this method in
subclasses.'

def test_fromString(self):

    entry = self.entry
    self.assertEqual(entry.publicKey, Key.fromString(sampleKey))
    self.assertEqual(entry.keyType, 'ssh-rsa')
