#NEWLINE# def test_app_section_settings( ) : #NEWLINE# #INDENT# class app ( morepath . App ) : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# @ app . setting_section ( 'one' ) #NEWLINE# def settings( ) : #NEWLINE# #INDENT# return { #NEWLINE# #INDENT# 'foo' : 'FOO' , #NEWLINE# 'bar' : 'BAR' , #NEWLINE# #UNINDENT# } #NEWLINE# #UNINDENT# dectate . commit ( app ) #NEWLINE# app_inst = app ( ) #NEWLINE# s = settings . config . setting_registry #NEWLINE# assert ( s . one . foo == 'FOO' ) #NEWLINE# assert ( s . one . bar == 'BAR' )