#NEWLINE# def test_boolean_rule_variable_no_parens( self ) : #NEWLINE# #INDENT# @ boolean_rule_variable #NEWLINE# def boolean_var( ) : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# self . assertTrue ( getattr ( boolean_var , 'is_rule_variable' ) ) #NEWLINE# self . assertEqual ( getattr ( boolean_var , 'field_type' ) , BooleanType )