#NEWLINE# def test_template_filter( self ) : #NEWLINE# #INDENT# names = scopes ( constants . READ ) #NEWLINE# self . assertEqual ( 'read' , ' ' . join ( names ) ) #NEWLINE# names = scope . names ( constants . READ_WRITE ) #NEWLINE# names . sort ( ) #NEWLINE# self . assertEqual ( 'read read+write write' , ' ' . join ( names ) )