#NEWLINE# def test_config_dir( self ) : #NEWLINE# #INDENT# from pecan import configuration #NEWLINE# if ( sys . version_info >= ( 2 , 6 ) ) : #NEWLINE# #INDENT# conf = configuration . Config ( { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertEqual ( [ ] , dir ( self ) ) #NEWLINE# conf = configuration . Config ( { #NEWLINE# #INDENT# 'a' : 1 , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertEqual ( [ 'a' ] , dir ( conf ) )