def test_getPublicKeys(self):
        """
        L{OpenSSHFactory.getPublicKeys} should return the available public keys
        in the data directory
        """
        keys = self.factory.getPublicKeys()
        self.assertEqual(len(keys), 1)
        keyTypes = keys.keys()
        self.assertEqual(list(keyTypes), [b'ssh-rsa'])

        L{OpenSSHFactory.getPublicKeys} should return the available public keys
        in the data directory
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/conch/test/test_openssh_compat.py