
BwLc           @   s\   d  Z  d Z d d l Z i  d  Z e d k rX d d l Z d   Z e j d d  n  d S(	   s)   Self-test for Crypto.Random.OSRNG packages   $Id$iNc         C   s   g  } t  j d k r\ d d  l } | | j d |   7} d d  l } | | j d |   7} n4 t  j d k r d d  l } | | j d |   7} n  t t  d  r d d  l } | | j d |   7} n  d d  l } | | j d |   7} | S(   Nt   ntit   configt   posixt   urandom(	   t   ost   namet   test_ntt	   get_testst   test_winrandomt
   test_posixt   hasattrt   test_fallbackt   test_generic(   R   t   testsR   R   R	   R   R   (    (    sI   /usr/lib/python2.7/dist-packages/Crypto/SelfTest/Random/OSRNG/__init__.pyR      s         t   __main__c           C   s   t  j t    S(   N(   t   unittestt	   TestSuiteR   (    (    (    sI   /usr/lib/python2.7/dist-packages/Crypto/SelfTest/Random/OSRNG/__init__.pyt   <lambda>-   s    t   defaultTestt   suite(   t   __doc__t   __revision__R   R   t   __name__R   R   t   main(    (    (    sI   /usr/lib/python2.7/dist-packages/Crypto/SelfTest/Random/OSRNG/__init__.pyt   <module>   s   	