-í
•‚É<c       s’     d  Z    d k Z  d k Z  d k Z 	 d k Z 
 d k Z  d e i f d „  ƒ  YZ C d „  Z G e	 d j o H e ƒ  n d S(   sA   Test script for the dumbdbm module
   Original by Roger E. Masse
Ns   DumbDBMTestCasec      s°     e  i ƒ  Z  h  d d <d d <d d <d d <d	 d
 <d d <d d <Z  d „  Z  d „  Z ( d „  Z . d „  Z 3 d „  Z 8 d „  Z	 = d „  Z
 RS(   Ns    s   0s   Python:s   as   Programmings   bs   thes   cs   ways   ds   Guidos   fs   intendeds   gc    sB     t  i i |  | Œ  |  i i ƒ  |  _  |  i i ƒ  d  S(   N(	   s   unittests   TestCases   __init__s   selfs   argss   _dicts   keyss   _dkeyss   sort(   s   selfs   args(    (    s1   /usr/local/twc/lib/python2.2/test/test_dumbdbm.pys   __init__ s   c    sİ     xT d d d g D ]@ }  y  t i |  i | ƒ Wn  t j
 o
  n Xq W! t i |  i d ƒ } " |  i	 | i
 ƒ  g  ƒ # x( |  i D# ] } $ |  i | | | <q› W% |  i | ƒ & | i ƒ  d  S(   Ns   .dirs   .dats   .baks   c(   s   exts   oss   unlinks   selfs   _fnames   OSErrors   dumbdbms   opens   fs   assertEquals   keyss   _dicts   keys   read_helpers   close(   s   selfs   exts   keys   f(    (    s1   /usr/local/twc/lib/python2.2/test/test_dumbdbm.pys   test_dumbdbm_creation s    	   	c    sT   ( ) t  i |  i d ƒ } * d |  i d <| d <+ |  i | ƒ , | i ƒ  d  S(   Ns   ws   indenteds   g(   s   dumbdbms   opens   selfs   _fnames   fs   _dicts   read_helpers   close(   s   selfs   f(    (    s1   /usr/local/twc/lib/python2.2/test/test_dumbdbm.pys   test_dumbdbm_modification( s   c    s<   . / t  i |  i d ƒ } 0 |  i | ƒ 1 | i ƒ  d  S(   Ns   r(   s   dumbdbms   opens   selfs   _fnames   fs   read_helpers   close(   s   selfs   f(    (    s1   /usr/local/twc/lib/python2.2/test/test_dumbdbm.pys   test_dumbdbm_read. s   c    s;   3 4 t  i |  i ƒ } 5 |  i | ƒ } 6 | i ƒ  d  S(   N(   s   dumbdbms   opens   selfs   _fnames   fs   keys_helpers   keyss   close(   s   selfs   keyss   f(    (    s1   /usr/local/twc/lib/python2.2/test/test_dumbdbm.pys   test_dumbdbm_keys3 s   c    sQ   8 9 |  i | ƒ } : x2 |  i D: ]$ } ; |  i |  i | | | ƒ q" Wd  S(   N(   s   selfs   keys_helpers   fs   keyss   _dicts   keys   assertEqual(   s   selfs   fs   keyss   key(    (    s1   /usr/local/twc/lib/python2.2/test/test_dumbdbm.pys   read_helper8 s    	c    s@   = > | i ƒ  } ? | i ƒ  @ |  i | |  i ƒ A | Sd  S(   N(   s   fs   keyss   sorts   selfs   assertEquals   _dkeys(   s   selfs   fs   keys(    (    s1   /usr/local/twc/lib/python2.2/test/test_dumbdbm.pys   keys_helper= s   (   s   tempfiles   mktemps   _fnames   _dicts   __init__s   test_dumbdbm_creations   test_dumbdbm_modifications   test_dumbdbm_reads   test_dumbdbm_keyss   read_helpers   keys_helper(    (    (    s1   /usr/local/twc/lib/python2.2/test/test_dumbdbm.pys   DumbDBMTestCase s   H	c      s   C D t  i t ƒ d  S(   N(   s   test_supports   run_unittests   DumbDBMTestCase(    (    (    s1   /usr/local/twc/lib/python2.2/test/test_dumbdbm.pys	   test_mainC s   s   __main__(
   s   __doc__s   oss   test_supports   unittests   dumbdbms   tempfiles   TestCases   DumbDBMTestCases	   test_mains   __name__(   s   test_supports   dumbdbms   DumbDBMTestCases	   test_mains   tempfiles   unittests   os(    (    s1   /usr/local/twc/lib/python2.2/test/test_dumbdbm.pys   ? s   7