'If the user is in the mapping provided to
L{checkers.InMemorySSHKeyDB}, an iterator with all the keys
is returned by L{checkers.InMemorySSHKeyDB.getAuthorizedKeys}'

def test_allKeysForAuthorizedUser(self):

    keydb = checkers.InMemorySSHKeyDB({'alice': ['a', 'b']})
    self.assertEqual(['a', 'b'], list(keydb.getAuthorizedKeys('alice')))
