%PDF- %PDF-
Direktori : /usr/local/lib/python2.7/test/ |
Current File : //usr/local/lib/python2.7/test/test_bsddb185.pyc |
ó Nêáac @ s¸ d Z d d l m Z m Z m Z d d l Z e d d e ƒZ d d l Z d d l Z d d l Z d d l Z d d l Z d e j f d „ ƒ YZ d „ Z e d k r´ e ƒ n d S( sy Tests for the bsddb185 module. The file 185test.db found in Lib/test/ is for testing purposes with this testing suite. iÿÿÿÿ( t run_unittestt findfilet import_moduleNt bsddb185t deprecatedt Bsddb185Testsc B s# e Z d „ Z d „ Z d „ Z RS( c C s7 t j t d ƒ ƒ } | j | d d ƒ | j ƒ d S( Ns 185test.dbt 1( R t hashopenR t assertEqualt close( t selft db( ( s. /usr/local/lib/python2.7/test/test_bsddb185.pyt test_open_existing_hash s c C s# | j t j t d ƒ ƒ d ƒ d S( Ns 185test.dbR ( R t whichdbR ( R ( ( s. /usr/local/lib/python2.7/test/test_bsddb185.pyt test_whichdb s c C so t j ƒ } zN t j j | d ƒ } t j | d ƒ j ƒ t j | ƒ } | j | d ƒ Wd t j | ƒ Xd S( Ns foo.dbt cR ( t tempfilet mkdtempt ost patht joint anydbmt openR R t assertNotEqualt shutilt rmtree( R t tmpdirt dbfilet ftype( ( s. /usr/local/lib/python2.7/test/test_bsddb185.pyt test_anydbm_create s ( t __name__t __module__R R R ( ( ( s. /usr/local/lib/python2.7/test/test_bsddb185.pyR s c C s t t ƒ d S( N( R R ( ( ( s. /usr/local/lib/python2.7/test/test_bsddb185.pyt test_main' s t __main__( t __doc__t test.test_supportR R R t unittestt TrueR R R R R R t TestCaseR R R ( ( ( s. /usr/local/lib/python2.7/test/test_bsddb185.pyt <module> s