#NEWLINE# def test_non_boolean( self ) : #NEWLINE# #INDENT# o = Option ( '-o, --output [dir]' ) #NEWLINE# assert ( o . key == 'output' ) #NEWLINE# assert ( o . boolean is False ) #NEWLINE# assert ( o . default is None ) #NEWLINE# assert ( o . required is False ) #NEWLINE# o = Option ( '-o, --output <dir>' ) #NEWLINE# assert ( o . required is True )