| 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/computerjanitor/ |
Upload File : |
ó ¤Oc @ s5 d d l Z d d l Z d e j f d „ ƒ YZ d S( iÿÿÿÿNt CruftTestsc B sY e 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 ƒ | _ d S( N( t computerjanitort Cruftt cruft( t self( ( s? /usr/lib/python2.7/dist-packages/computerjanitor/cruft_tests.pyt setUp s c C s6 d t j f d „ ƒ Y} | j | ƒ j ƒ d ƒ d S( Nt Mockupc B s e Z RS( ( t __name__t __module__( ( ( s? /usr/lib/python2.7/dist-packages/computerjanitor/cruft_tests.pyR s ( R R t assertEqualt get_prefix( R R ( ( s? /usr/lib/python2.7/dist-packages/computerjanitor/cruft_tests.pyt# testReturnsClassNameAsDefaultPrefix s c C s | j | j j ƒ d ƒ d S( Nt ( R R t get_prefix_description( R ( ( s? /usr/lib/python2.7/dist-packages/computerjanitor/cruft_tests.pyt0 testReturnsEmptyStringAsDefaultPrefixDescription s c C s, d „ | j _ | j | j j ƒ d ƒ d S( Nc S s d S( Nt foo( ( ( ( s? /usr/lib/python2.7/dist-packages/computerjanitor/cruft_tests.pyt <lambda>$ s R ( R t get_descriptionR R ( R ( ( s? /usr/lib/python2.7/dist-packages/computerjanitor/cruft_tests.pyt0 testReturnsDescriptionAsDefaultPrefixDescription# s c C s | j t j | j j ƒ d S( N( t assertRaisesR t UnimplementedMethodR t get_shortname( R ( ( s? /usr/lib/python2.7/dist-packages/computerjanitor/cruft_tests.pyt% testRaisesErrorForDefaultGetShortname' s c C s; d „ | j _ d „ | j _ | j | j j ƒ d ƒ d S( Nc W s d S( NR ( ( t args( ( s? /usr/lib/python2.7/dist-packages/computerjanitor/cruft_tests.pyR , s c W s d S( Nt bar( ( R ( ( s? /usr/lib/python2.7/dist-packages/computerjanitor/cruft_tests.pyR - s s foo:bar( R R R R t get_name( R ( ( s? /usr/lib/python2.7/dist-packages/computerjanitor/cruft_tests.pyt# testReturnsCorrectStringForFullName+ s c C s | j | j j ƒ d ƒ d S( NR ( R R R ( R ( ( s? /usr/lib/python2.7/dist-packages/computerjanitor/cruft_tests.pyt* testReturnsEmptyStringAsDefaultDescription0 s c C s | j | j j ƒ d ƒ d S( N( R R t get_disk_usaget None( R ( ( s? /usr/lib/python2.7/dist-packages/computerjanitor/cruft_tests.pyt testReturnsNoneForDiskUsage3 s c C s | j t j | j j ƒ d S( N( R R R R t cleanup( R ( ( s? /usr/lib/python2.7/dist-packages/computerjanitor/cruft_tests.pyt testRaisesErrorForDefaultCleanup6 s ( R R R R R R R R R R R ( ( ( s? /usr/lib/python2.7/dist-packages/computerjanitor/cruft_tests.pyR s ( t unittestR t TestCaseR ( ( ( s? /usr/lib/python2.7/dist-packages/computerjanitor/cruft_tests.pyt <module> s