Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
# Authors: # Jan Cholasta <jcholast@redhat.com> # # Copyright (C) 2011 Red Hat # see file 'COPYING' for use and warranty information # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. Test the `ipapython/ssh.py` module. """
('\xff', UnicodeDecodeError),
(raw, openssh), ('\0\0\0\x04none', u'none AAAABG5vbmU='), ('\0\0\0', ValueError), ('\0\0\0\0', ValueError), ('\0\0\0\x01', ValueError), ('\0\0\0\x01\xff', ValueError),
(b64, openssh), (unicode(b64), openssh), (u'\n%s\n\n' % b64, openssh), (u'AAAABG5vbmU=', u'none AAAABG5vbmU='), (u'AAAAB', ValueError),
(openssh, openssh), (unicode(openssh), openssh), (u'none AAAABG5vbmU=', u'none AAAABG5vbmU='), (u'\t \t ssh-rsa \t \t%s\t \tthis is a comment\t \t ' % b64, u'%s this is a comment' % openssh), (u'opt3,opt2="\tx ",opt1,opt2="\\"x " %s comment ' % openssh, u'opt1,opt2="\\"x ",opt3 %s comment' % openssh), (u'ssh-rsa\n%s' % b64, ValueError), (u'ssh-rsa\t%s' % b64, ValueError), (u'vanitas %s' % b64, ValueError), (u'@opt %s' % openssh, ValueError), (u'opt=val %s' % openssh, ValueError), (u'opt, %s' % openssh, ValueError), ]
|