def test_notInKnownHosts(self):
        """
        L{default.isInKnownHosts} should return C{0} when a host with a key
        is not in the known hosts file.
        """
        r = default.isInKnownHosts(
            "not.there", b"irrelevant",
            {"known-hosts": FilePath(self.hostsOption).path})
        self.assertEqual(0, r)

        L{default.isInKnownHosts} should return C{0} when a host with a key
        is not in the known hosts file.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/conch/test/test_knownhosts.py