Ñò úõIc @ sú d d k Z d d k Z d d k l Z d d k l Z d d k l Z d d k l Z l Z d d k l Z d d k Z d d d d d g Z d e f d „ ƒ YZ d e f d „ ƒ YZ d e e f d „ ƒ YZ d e e f d „ ƒ YZ d „ Z d S( iÿÿÿÿN( t instancemethod( t glob( t TestCase( t imapt chain( t install_frameworkt RequireMixint WidgetMixint WidgetTestCaset WidgetRequireTestCaset get_doctest_suitec B s e Z d Z g Z d „ Z RS( s‹ Doesn't run the tests in the TestCases that inherit from this mixin class if the package requisites in 'require' are not met. c s¤ y t i | i Œ Wnv t i j og d i | i i | i i g ƒ ‰ | i ‰ t | _ d ‡ ‡ f d † } t | | | i ƒ | _ n Xt i | | | Ž d S( Nt :c s2 | i p$ t i d ˆ ˆ f IJt | _ n d S( Ns8 Skipping all tests in %s due to missing requirements: %r( t _message_displayedt syst stderrt True( t selft result( t namet reqs( s4 /usr/lib/python2.6/site-packages/tw/core/testutil.pyt dummy_run! s ( t pkg_resourcest requiret DistributionNotFoundt joint __class__t __module__t __name__t FalseR t NoneR t runR t __init__( R t argst kwR ( ( R R s4 /usr/lib/python2.6/site-packages/tw/core/testutil.pyR s ! ( R R t __doc__R R ( ( ( s4 /usr/lib/python2.6/site-packages/tw/core/testutil.pyR s c B sV e Z h Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( c C s= t d t ƒ t | d ƒ o | i d | i | _ n d S( Nt forcet TestWidgett test( R R t hasattrR$ t widget_kwt widget( R ( ( s4 /usr/lib/python2.6/site-packages/tw/core/testutil.pyt setUp+ s c C s t | d ƒ o | ` n d S( NR$ ( R&