'If the user is in the user database provided to
L{checkers.UNIXAuthorizedKeysFiles}, an iterator with all the keys in
C{~/.ssh/authorized_keys} and C{~/.ssh/authorized_keys2} is returned
by L{checkers.UNIXAuthorizedKeysFiles.getAuthorizedKeys}.'

def test_allKeysInAllAuthorizedFilesForAuthorizedUser(self):

    self.sshDir.child('authorized_keys2').setContent('key    3')
    keydb = checkers.UNIXAuthorizedKeysFiles(self.userdb, parseKey=(lambda x: x))
    self.assertEqual((self.expectedKeys + ['key    3']), list(keydb.getAuthorizedKeys('alice')))
