def test_loadNonExistent(self):
        pn = self.mktemp()
        knownHostsFile = KnownHostsFile.fromPath(FilePath(pn))
        self.assertEqual([], list(knownHostsFile._entries))
        self.assertEqual(False, FilePath(pn).exists())
        knownHostsFile.save()
        self.assertEqual(True, FilePath(pn).exists())
Loading a L{KnownHostsFile} from a path that does not exist should
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/conch/test/test_knownhosts.py/KnownHostsDatabaseTests.test_loadNonExistent