ó
�wÛjc           @   sm  d  Z  d d l Z d d l Z d d l Z d d l Z d d l m Z d d l Z d d l m Z m	 Z	 m
 Z
 m Z m Z m Z i7 d´ d 6dµ d 6d¶ d 6d· d 6d¸ d 6d¹ d 6dº d 6d» d 6d¼ d! 6d½ d$ 6d¾ d' 6d¿ d* 6dÀ d- 6dÁ d0 6dÂ d3 6dÃ d6 6dÄ d9 6dÅ d< 6dÆ d> 6dÇ d@ 6dÈ dB 6dÉ dD 6dÊ dG 6dË dI 6dÌ dK 6dÍ dM 6dÎ dO 6dÏ dQ 6dÐ dS 6dÑ dU 6dÒ dW 6dÓ d[ 6dÔ d] 6dÕ d_ 6dÖ da 6d× dc 6dØ de 6dÙ dh 6dÚ dj 6dÛ dn 6dÜ dp 6dÝ dr 6dÞ du 6dß dw 6dà dy 6dá d| 6dâ d 6dã d‚ 6dä d„ 6då d† 6dæ d‰ 6dç d‹ 6dè d� 6dé d� 6dê d“ 6Z d” e j f d• „  ƒ  YZ d– e j f d— „  ƒ  YZ d˜ e f d™ „  ƒ  YZ dš e f d› „  ƒ  YZ dœ e f d� „  ƒ  YZ dž e f dŸ „  ƒ  YZ d  e f d¡ „  ƒ  YZ d¢ e f d£ „  ƒ  YZ d¤ e f d¥ „  ƒ  YZ d¦ e f d§ „  ƒ  YZ d¨ e f d© „  ƒ  YZ dª e f d« „  ƒ  YZ d¬ e f d­ „  ƒ  YZ d® e f d¯ „  ƒ  YZ d° „  Z e d± k rie j  d² d³ ƒ n  d S(ë   s   
TestCases for DB.associate.
iÿÿÿÿN(   t   pprint(   t   dbt   dbshelvet   test_supportt   verboset   have_threadst   get_new_environment_paths   Bad Englishs   The Price Of Lovet   Rocki   s   DNA featuring Suzanne Vegas   Tom's Dineri   s   George Michaels   Praying For Timei   s   Gloria Estefans   Here We Arei   s   Linda Ronstadts   Don't Know Muchi   s   Michael Boltons%   How Am I Supposed To Live Without Yout   Bluesi   s
   Paul Youngs   Oh Girli   s   Paula Abduls   Opposites Attracti   s   Richard Marxs   Should've Known Betteri	   s   Rod Stewarts   Forever Youngi
   t   Roxettet	   Dangerousi   s   Sheena Eastons   The Lover In Mei   s   Sinead O'Connors   Nothing Compares 2 Ui   s	   Stevie B.s   Because I Love Youi   s   Taylor Daynes   Love Will Lead You Backi   s   The Bangless   Eternal Flamei   s   Wilson Phillipss
   Release Mei   s
   Billy Joels   Blonde Over Bluei   s   Famous Last Wordsi   s   Lullabye (Goodnight, My Angel)i   s   The River Of Dreamsi   s   Two Thousand Yearsi   s   Janet Jacksont   Alrighti   s	   Black Cati   s   Come Back To Mei   t   Escapadei   s    Love Will Never Do (Without You)i   s   Miss You Muchi   s   Rhythm Nationi   s   State Of The Worldi   s   The Knowledgei   s
   Spyro Gyras   End of Romanticismt   Jazzi    t
   Heliopolisi!   t   Jubileei"   s   Little Lindai#   s   Morning Dancei$   s   Song for Lorrainei%   t   Yess   Owner Of A Lonely Hearti&   s   Rhythm Of Lovei'   t   Cuscos   Dream Catchers   New Agei(   s   Geronimos Laughteri)   s   Ghost Dancei*   s   Blue Man Groupt   Drumbonei+   s   Endless Columni,   s   Klein Mandelbroti-   s   Kenny Gt
   Silhouettei.   t   Sades   Smooth Operatori/   s   David Arkenstones(   Papillon (On The Wings Of The Butterfly)i0   s   Stepping Starsi1   s   Carnation Lily Lily Rosei2   s
   David Lanzs   Behind The Waterfalli3   s   Cristofori's Dreami4   t   Heartsoundsi5   s   Leaves on the Seinei6   s   unknown artists   Unnamed songt   Unknownic   t   AssociateErrorTestCasec           B   sJ   e  Z d  „  Z d „  Z d „  Z e j e j ƒ  d k d ƒ d „  ƒ Z	 RS(   c         C   sR   |  j  j d |  _ t ƒ  |  _ t j ƒ  |  _ |  j j |  j t j	 t j
 Bƒ d  S(   Ns   .db(   t	   __class__t   __name__t   filenameR   t   homeDirR   t   DBEnvt   envt   opent	   DB_CREATEt   DB_INIT_MPOOL(   t   self(    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyt   setUpO   s    c         C   s*   |  j  j ƒ  d  |  _  t j |  j ƒ d  S(   N(   R   t   closet   NoneR   t   rmtreeR   (   R!   (    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyt   tearDownU   s    	c         C   s  t  r% d Gd d GHd |  j j GHn  t j |  j ƒ } | j t j ƒ | j |  j	 d t j
 t j ƒ t j |  j ƒ } | j |  j	 d t j
 t j ƒ y d „  } | j | | ƒ Wn( t j k
 rÞ | j ƒ  | j ƒ  n" X| j ƒ  | j ƒ  |  j d ƒ d  S(	   Ns   
s   -=i   s%   Running %s.test00_associateDBError...t   primaryt	   secondaryc         S   s   |  | S(   N(    (   t   at   b(    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyt   fj   t    s   DBError exception was expected(   R   R   R   R   t   DBR   t	   set_flagst   DB_DUPR   R   t   DB_BTREER   t	   associatet   DBErrorR#   t   fail(   R!   t   dupDBt   secDBR+   (    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyt   test00_associateDBErrorZ   s$    	


i   i   s
   Needs 4.6+c         C   sÑ   t  j |  j ƒ } | j d d t  j t  j ƒ t  j |  j ƒ } | j d d t  j t  j ƒ | j | d „  ƒ d } t j d ƒ � } | j	 d d ƒ Wd  QX| j
 ƒ  | j
 ƒ  |  j | j ƒ  j ƒ  | ƒ d  S(	   Ns   bad.dbs   a.dbs   b.dbc         S   s   d g S(   Ni    (    (   R)   R*   (    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyt   <lambda>|   R,   sS   TypeError: The list returned by DB->associate callback should be a list of strings.t   stderrt   0t   1(   R   R-   R   R   R0   R   R1   R   t   captured_outputt   putR#   t   assertEqualst   getvaluet   strip(   R!   t   db1t   db2t   msgt   s(    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyt   test_associateListErroru   s    

(   i   i   (
   R   t
   __module__R"   R&   R6   t   unittestt
   skipUnlessR   t   versionRD   (    (    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyR   N   s   			t   AssociateTestCasec           B   s¿   e  Z d  Z d Z d Z d „  Z d „  Z d d „ Z d d „ Z	 d „  Z
 d „  Z d „  Z d	 „  Z d
 „  Z d „  Z e j ƒ  d k rŸ d „  Z d „  Z n  d d „ Z d „  Z d „  Z RS(   R,   i    c         C   sg   |  j  j d |  _ t ƒ  |  _ t j ƒ  |  _ |  j j |  j t j	 t j
 Bt j Bt j B|  j Bƒ d  S(   Ns   .db(   R   R   R   R   R   R   R   R   R   R   R    t   DB_INIT_LOCKt	   DB_THREADt   envFlags(   R!   (    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyR"   �   s
    c         C   s4   |  j  ƒ  |  j j ƒ  d  |  _ t j |  j ƒ d  S(   N(   t   closeDBR   R#   R$   R   R%   R   (   R!   (    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyR&   –   s    
	c         C   sh   xa t  j ƒ  D]S \ } } t |  j ƒ t d ƒ k rA d | } n  | j | d j | ƒ d | ƒq Wd  S(   NR,   s   %02dt   |t   txn(   t	   musicdatat   itemst   typet   keytypeR<   t   join(   R!   t   dRO   t   keyt   value(    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyt   addDataToDBœ   s    c         C   sq   d  |  _ d  |  _ t j |  j ƒ |  _ |  j j d ƒ |  j j |  j	 d |  j
 t j t j B|  j Bd | ƒd  S(   Ni   R'   RO   (   R$   t   curR5   R   R-   R   R'   t   set_get_returns_noneR   R   t   dbtypeR   RK   t   dbFlags(   R!   RO   (    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyt   createDB¢   s    		c         C   s^   |  j  r" |  j  j ƒ  d  |  _  n  |  j rD |  j j ƒ  d  |  _ n  |  j j ƒ  d  |  _ d  S(   N(   RY   R#   R$   R5   R'   (   R!   (    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyRM   ª   s    		c         C   s   |  j  S(   N(   R'   (   R!   (    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyt   getDB´   s    c         C   s²   |  j  ƒ  t j |  j ƒ |  _ |  j j t j ƒ |  j j d ƒ |  j j |  j	 d t j
 t j t j B|  j Bƒ |  j ƒ  j |  j | ƒ |  j |  j ƒ  ƒ |  j |  j ƒ d  S(   Ni   R(   (   R]   R   R-   R   R5   R.   R/   RZ   R   R   R0   R   RK   R\   R^   R1   RX   t   finish_test(   R!   t   getGenre(    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyt   _associateWithDB¸   s    
c         C   s5   t  r% d Gd d GHd |  j j GHn  |  j |  j ƒ S(   Ns   
s   -=i   s$   Running %s.test01_associateWithDB...(   R   R   R   Ra   R`   (   R!   (    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyt   test01_associateWithDBÆ   s
    c         C   s¨   |  j  ƒ  |  j |  j ƒ  ƒ t j |  j ƒ |  _ |  j j t j ƒ |  j j	 |  j
 d t j t j t j B|  j Bƒ |  j ƒ  j |  j | t j ƒ |  j |  j ƒ d  S(   NR(   (   R]   RX   R^   R   R-   R   R5   R.   R/   R   R   R0   R   RK   R\   R1   R_   (   R!   R`   (    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyt   _associateAfterDBÎ   s    
c         C   s5   t  r% d Gd d GHd |  j j GHn  |  j |  j ƒ S(   Ns   
s   -=i   s%   Running %s.test02_associateAfterDB...(   R   R   R   Rc   R`   (   R!   (    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyt   test02_associateAfterDBÜ   s
    i   i   c         C   s5   t  r% d Gd d GHd |  j j GHn  |  j |  j ƒ S(   Ns   
s   -=i   s$   Running %s.test03_associateWithDB...(   R   R   R   Ra   t   getGenreList(   R!   (    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyt   test03_associateWithDBå   s
    c         C   s5   t  r% d Gd d GHd |  j j GHn  |  j |  j ƒ S(   Ns   
s   -=i   s%   Running %s.test04_associateAfterDB...(   R   R   R   Rc   Re   (   R!   (    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyt   test04_associateAfterDBí   s
    c         C   sÕ  | j  d d | ƒ} |  j | d  | ƒ | j  d d | ƒ} |  j | d d | ƒ | d j d ƒ | d j d ƒ | d j d	 ƒ t r• d
 GHn  |  j ƒ  j | ƒ |  _ d } |  j j	 ƒ  } x� | d  k	 rat
 |  j ƒ t
 d ƒ k r|  j t | d ƒ ƒ n+ |  j | d ƒ |  j t
 | d ƒ t ƒ | d } t rI| GHn  t |  j d ƒ ƒ  } qÅ W|  j | t t ƒ ƒ t r†d GHn  | j | ƒ |  _ d } |  j j  d d t j ƒ} |  j | d d | ƒ |  j | d d ƒ | d j d ƒ | d j d ƒ | d j d	 ƒ |  j j  d d d d t j ƒ} |  j | d  | ƒ |  j j	 ƒ  } |  j | d d ƒ x= | d  k	 r­| d } t r•| GHn  t |  j d ƒ ƒ  } qqW|  j | t t ƒ d ƒ d  |  _ d  S(   NR   RO   R   i    ic   t   99i   t   Unnamedt   unknowns   Primary key traversal:R,   t   nexts   Secondary key traversal:t   flagsi   t   datas   wrong valueR   (   ic   Rh   (   ic   Rh   (   t   pgett   assertEqualR$   t   assertInt   indexR   R^   t   cursorRY   t   firstRR   RS   t
   assertTruet   intt   assertIst   getattrt   lenRP   R   t   DB_LASTt   DB_GET_BOTH(   R!   R5   RO   t   valst   countt   rec(    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyR_   ö   sV    
!
c         C   sb   |  j  t | ƒ t d ƒ ƒ | j d ƒ d } t rG d | | f GHn  | d k rZ t j S| Sd  S(   NR,   RN   i   s   getGenre key: %r data: %rR   (   Ro   RR   t   splitR   R   t   DB_DONOTINDEX(   R!   t   priKeyt   priDatat   genre(    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyR`   /  s    c         C   s:   |  j  | | ƒ } t | ƒ t d ƒ k r6 | g } n  | S(   NR,   (   R`   RR   (   R!   R€   t   PriDatat   v(    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyRe   ;  s    N(   i   i   (   R   RE   RS   RL   R\   R"   R&   R$   RX   R]   RM   R^   Ra   Rb   Rc   Rd   R   RH   Rf   Rg   R_   R`   Re   (    (    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyRI   Š   s&   			
							9	t   AssociateHashTestCasec           B   s   e  Z e j Z RS(    (   R   RE   R   t   DB_HASHR[   (    (    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyR…   E  s   t   AssociateBTreeTestCasec           B   s   e  Z e j Z RS(    (   R   RE   R   R0   R[   (    (    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyR‡   H  s   t   AssociateRecnoTestCasec           B   s   e  Z e j Z d  Z RS(   i    (   R   RE   R   t   DB_RECNOR[   RS   (    (    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyRˆ   K  s   	t   AssociateBTreeTxnTestCasec           B   s)   e  Z e j Z d  Z d „  Z d „  Z RS(   i    c         C   sT   z |  j  | d | ƒWd  |  j r< |  j j ƒ  d  |  _ n  | rO | j ƒ  n  Xd  S(   NRO   (   R_   RY   R#   R$   t   commit(   R!   t   sDBRO   (    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyt   txn_finish_testU  s    	c         C   s  t  r% d Gd d GHd |  j j GHn  |  j j ƒ  } y¶ |  j d | ƒ t j |  j ƒ |  _ |  j j	 t j
 ƒ |  j j d ƒ |  j j |  j d t j t j t j Bd | ƒ|  j ƒ  j |  j |  j d | ƒ|  j |  j ƒ  d | ƒWn | j ƒ  ‚  n X|  j |  j d | ƒd  S(   Ns   
s   -=i   s(   Running %s.test13_associateAutoCommit...RO   i   R(   (   R   R   R   R   t	   txn_beginR]   R   R-   R5   R.   R/   RZ   R   R   R0   R   RK   R^   R1   R`   RX   t   abortR�   (   R!   RO   (    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyt   test13_associate_in_transaction_  s$    "
(   R   RE   R   t   DB_INIT_TXNRL   R\   R�   R�   (    (    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyRŠ   Q  s   		
t   ShelveAssociateTestCasec           B   s#   e  Z d  „  Z d „  Z d „  Z RS(   c         C   s1   t  j |  j d d d |  j d |  j ƒ|  _ d  S(   Nt   dbnameR'   t   dbenvt   filetype(   R   R   R   R   R[   R'   (   R!   (    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyR]   |  s    	c         C   sY   xR t  j ƒ  D]D \ } } t |  j ƒ t d ƒ k rA d | } n  | j | | ƒ q Wd  S(   NR,   s   %02d(   RP   RQ   RR   RS   R<   (   R!   RU   RV   RW   (    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyRX   ‚  s    c         C   sY   |  j  t | ƒ t d ƒ ƒ t r4 d | | f GHn  | d } | d k rQ t j S| Sd  S(   Ns   getGenre key: %r data: %ri   R   (    (   Ro   RR   R   R   R   (   R!   R€   R�   R‚   (    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyR`   ‰  s    
(   R   RE   R]   RX   R`   (    (    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyR’   z  s   		t   ShelveAssociateHashTestCasec           B   s   e  Z e j Z RS(    (   R   RE   R   R†   R[   (    (    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyR–   ”  s   t   ShelveAssociateBTreeTestCasec           B   s   e  Z e j Z RS(    (   R   RE   R   R0   R[   (    (    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyR—   —  s   t   ShelveAssociateRecnoTestCasec           B   s   e  Z e j Z d  Z RS(   i    (   R   RE   R   R‰   R[   RS   (    (    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyR˜   š  s   	t   ThreadedAssociateTestCasec           B   s#   e  Z d  „  Z d „  Z d „  Z RS(   c         C   s|   t  d |  j d | f ƒ } t  d |  j d | f ƒ } | j t ƒ | j t ƒ | j ƒ  | j ƒ  | j ƒ  | j ƒ  d  S(   Nt   targett   args(   t   Threadt   writer1t   writer2t	   setDaemont   Truet   startRT   (   R!   RU   t   t1t   t2(    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyRX   £  s    


c         C   sb   x[ t  j ƒ  D]M \ } } t |  j ƒ t d ƒ k rA d | } n  | j | d j | ƒ ƒ q Wd  S(   NR,   s   %02dRN   (   RP   RQ   RR   RS   R<   RT   (   R!   RU   RV   RW   (    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyR�   °  s    c         C   sN   xG t  d d ƒ D]6 } d | } | g d } | j | d j | ƒ ƒ q Wd  S(   Nid   iX  s   z%2di   RN   (   t   rangeR<   RT   (   R!   RU   t   xRV   RW   (    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyRž   ¶  s    
(   R   RE   RX   R�   Rž   (    (    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyR™   ¡  s   		t   ThreadedAssociateHashTestCasec           B   s   e  Z e j Z RS(    (   R   RE   R   R†   R[   (    (    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyR¦   ½  s   t   ThreadedAssociateBTreeTestCasec           B   s   e  Z e j Z RS(    (   R   RE   R   R0   R[   (    (    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyR§   À  s   t   ThreadedAssociateRecnoTestCasec           B   s   e  Z e j Z d  Z RS(   i    (   R   RE   R   R‰   R[   RS   (    (    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyR¨   Ã  s   	c          C   s  t  j ƒ  }  |  j t  j t ƒ ƒ |  j t  j t ƒ ƒ |  j t  j t ƒ ƒ |  j t  j t ƒ ƒ |  j t  j t ƒ ƒ |  j t  j t	 ƒ ƒ |  j t  j t
 ƒ ƒ |  j t  j t ƒ ƒ t r|  j t  j t ƒ ƒ |  j t  j t ƒ ƒ |  j t  j t ƒ ƒ n  |  S(   N(   RF   t	   TestSuitet   addTestt	   makeSuiteR   R…   R‡   Rˆ   RŠ   R–   R—   R˜   R   R¦   R§   R¨   (   t   suite(    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyt
   test_suiteÊ  s    t   __main__t   defaultTestR­   (   s   Bad Englishs   The Price Of LoveR   (   s   DNA featuring Suzanne Vegas   Tom's DinerR   (   s   George Michaels   Praying For TimeR   (   s   Gloria Estefans   Here We AreR   (   s   Linda Ronstadts   Don't Know MuchR   (   s   Michael Boltons%   How Am I Supposed To Live Without YouR   (   s
   Paul Youngs   Oh GirlR   (   s   Paula Abduls   Opposites AttractR   (   s   Richard Marxs   Should've Known BetterR   (   s   Rod Stewarts   Forever YoungR   (   R	   R
   R   (   s   Sheena Eastons   The Lover In MeR   (   s   Sinead O'Connors   Nothing Compares 2 UR   (   s	   Stevie B.s   Because I Love YouR   (   s   Taylor Daynes   Love Will Lead You BackR   (   s   The Bangless   Eternal FlameR   (   s   Wilson Phillipss
   Release MeR   (   s
   Billy Joels   Blonde Over BlueR   (   s
   Billy Joels   Famous Last WordsR   (   s
   Billy Joels   Lullabye (Goodnight, My Angel)R   (   s
   Billy Joels   The River Of DreamsR   (   s
   Billy Joels   Two Thousand YearsR   (   s   Janet JacksonR   R   (   s   Janet Jacksons	   Black CatR   (   s   Janet Jacksons   Come Back To MeR   (   s   Janet JacksonR   R   (   s   Janet Jacksons    Love Will Never Do (Without You)R   (   s   Janet Jacksons   Miss You MuchR   (   s   Janet Jacksons   Rhythm NationR   (   s   Janet Jacksons   State Of The WorldR   (   s   Janet Jacksons   The KnowledgeR   (   s
   Spyro Gyras   End of RomanticismR   (   s
   Spyro GyraR   R   (   s
   Spyro GyraR   R   (   s
   Spyro Gyras   Little LindaR   (   s
   Spyro Gyras   Morning DanceR   (   s
   Spyro Gyras   Song for LorraineR   (   R   s   Owner Of A Lonely HeartR   (   R   s   Rhythm Of LoveR   (   R   s   Dream Catchers   New Age(   R   s   Geronimos Laughters   New Age(   R   s   Ghost Dances   New Age(   s   Blue Man GroupR   s   New Age(   s   Blue Man Groups   Endless Columns   New Age(   s   Blue Man Groups   Klein Mandelbrots   New Age(   s   Kenny GR   R   (   R   s   Smooth OperatorR   (   s   David Arkenstones(   Papillon (On The Wings Of The Butterfly)s   New Age(   s   David Arkenstones   Stepping Starss   New Age(   s   David Arkenstones   Carnation Lily Lily Roses   New Age(   s
   David Lanzs   Behind The Waterfalls   New Age(   s
   David Lanzs   Cristofori's Dreams   New Age(   s
   David LanzR   s   New Age(   s
   David Lanzs   Leaves on the Seines   New Age(   s   unknown artists   Unnamed songR   (!   t   __doc__t   syst   ost   stringt   timeR    RF   t   test_allR   R   R   R   R   R   RP   t   TestCaseR   RI   R…   R‡   Rˆ   RŠ   R’   R–   R—   R˜   R™   R¦   R§   R¨   R­   R   t   main(    (    (    s�   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/bsddb/test/test_associate.pyt   <module>   sž   $. 
<»)	