'L{default.isInKnownHosts} should return C{1} when a host with a key
is in the known hosts file.'

def test_inKnownHosts(self):

    host = self.hashedEntries['4.3.2.1'].toString().split()[0]
    r = default.isInKnownHosts(host, Key.fromString(sampleKey).blob(), {'known-hosts': FilePath(self.hostsOption).path})
    self.assertEqual(1, r)
