#NEWLINE# def test_offers_router_interface( self ) : #NEWLINE# #INDENT# func = _get_func ( self . router . get_dbs ) #NEWLINE# self . assertTrue ( callable ( func ) ) #NEWLINE# ( dbargs , _ , _ , dbdefaults ) = getargspec ( func ) #NEWLINE# self . assertTrue ( ( set ( dbargs ) >= set ( [ 'self' , 'attr' , 'args' , 'kwargs' ] ) ) ) #NEWLINE# self . assertIsNone ( dbdefaults ) #NEWLINE# func = _get_func ( self . router . setup_router ) #NEWLINE# self . assertTrue ( callable ( func ) ) #NEWLINE# ( setupargs , _ , _ , setupdefaults ) = getargspec ( func ) #NEWLINE# self . assertTrue ( ( set ( setupargs ) >= set ( [ 'self' , 'args' , 'kwargs' ] ) ) ) #NEWLINE# self . assertIsNone ( setupdefaults )