ó
BwLc           @   si   d  Z  d Z d d l Z d e j f d     YZ i  d  Z e d k re d   Z e j d	 d
  n  d S(   s0   Self-test suite for Crypto.Random.OSRNG.fallbacks   $Id$i˙˙˙˙Nt
   SimpleTestc           B   s   e  Z d    Z RS(   c         C   sS   d d l  } | j j j j   } | j d  } | j d  } |  j | |  d S(   s"   Crypto.Random.OSRNG.fallback.new()i˙˙˙˙Ni   (   t   Crypto.Random.OSRNG.fallbackt   Randomt   OSRNGt   fallbackt   newt   readt   assertNotEqual(   t   selft   Cryptot   randobjt   xt   y(    (    sN   /usr/lib/python2.7/dist-packages/Crypto/SelfTest/Random/OSRNG/test_fallback.pyt   runTest    s
    (   t   __name__t
   __module__R   (    (    (    sN   /usr/lib/python2.7/dist-packages/Crypto/SelfTest/Random/OSRNG/test_fallback.pyR       s   c         C   s
   t    g S(   N(   R    (   t   config(    (    sN   /usr/lib/python2.7/dist-packages/Crypto/SelfTest/Random/OSRNG/test_fallback.pyt	   get_tests)   s    t   __main__c           C   s   t  j t    S(   N(   t   unittestt	   TestSuiteR   (    (    (    sN   /usr/lib/python2.7/dist-packages/Crypto/SelfTest/Random/OSRNG/test_fallback.pyt   <lambda>-   s    t   defaultTestt   suite(	   t   __doc__t   __revision__R   t   TestCaseR    R   R   R   t   main(    (    (    sN   /usr/lib/python2.7/dist-packages/Crypto/SelfTest/Random/OSRNG/test_fallback.pyt   <module>   s   
	