| Server IP : 61.19.30.66 / Your IP : 216.73.216.15 Web Server : Apache/2.2.22 (Ubuntu) System : Linux klw 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64 User : www-data ( 33) PHP Version : 5.3.10-1ubuntu3.48 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python2.7/dist-packages/keyring/tests/ |
Upload File : |
ó F+ÞOc @ s· d Z d d l Z d d l Z d d l m Z d d l Z d e j j f d „ ƒ YZ d e j j f d „ ƒ YZ d e j f d „ ƒ YZ d „ Z e d k r³ e j d d ƒ n d S( s7 Test case to access the keyring from the command line iÿÿÿÿN( t clit FakeKeyringc B s) e Z d Z d „ Z d „ Z d „ Z RS( t GABUZOMEUHc C s d S( Ni ( ( t self( ( s: /usr/lib/python2.7/dist-packages/keyring/tests/test_cli.pyt supported s c C s d S( N( ( R t servicet usernamet password( ( s: /usr/lib/python2.7/dist-packages/keyring/tests/test_cli.pyt set_password s c C s | j S( N( t PASSWORD( R R R ( ( s: /usr/lib/python2.7/dist-packages/keyring/tests/test_cli.pyt get_password s ( t __name__t __module__R R R R ( ( ( s: /usr/lib/python2.7/dist-packages/keyring/tests/test_cli.pyR s t SimpleKeyringc B s2 e Z d Z d „ Z d „ Z d „ Z d „ Z RS( s A very simple keyringc C s i | _ d S( N( t pwd( R ( ( s: /usr/lib/python2.7/dist-packages/keyring/tests/test_cli.pyt __init__ s c C s d S( Ni ( ( R ( ( s: /usr/lib/python2.7/dist-packages/keyring/tests/test_cli.pyR s c C s | | j | | f <d S( N( R ( R R R R ( ( s: /usr/lib/python2.7/dist-packages/keyring/tests/test_cli.pyR ! s c C s. y | j | | f SWn t k r) d SXd S( N( R t KeyErrort None( R R R ( ( s: /usr/lib/python2.7/dist-packages/keyring/tests/test_cli.pyR $ s ( R R t __doc__R R R R ( ( ( s: /usr/lib/python2.7/dist-packages/keyring/tests/test_cli.pyR s t CommandLineTestCasec B sk e Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( c C s t j ƒ | _ t j ƒ | _ | j | j _ | j | j _ | j | j j _ d „ | j j _ t j t ƒ ƒ d | _ d | _ d | _ d S( Nc S s d S( N( R ( ( ( s: /usr/lib/python2.7/dist-packages/keyring/tests/test_cli.pyt <lambda>3 s t ( t keyringt get_keyringt old_keyringR t CommandLineToolt return_passwordt input_passwordt save_passwordt output_passwordt mock_errort parsert errort print_helpt set_keyringR R R t password_returnedt last_error( R ( ( s: /usr/lib/python2.7/dist-packages/keyring/tests/test_cli.pyt setUp, s c C s t j | j ƒ d S( N( R R"