def test_allKeysForAuthorizedUser(self):
        keydb = checkers.InMemorySSHKeyDB({b'alice': [b'a', b'b']})
        self.assertEqual([b'a', b'b'], list(keydb.getAuthorizedKeys(b'alice')))
If the user is in the mapping provided to
dataset/ETHPy150Open twisted/twisted/twisted/conch/test/test_checkers.py/InMemorySSHKeyDBTests.test_allKeysForAuthorizedUser