#NEWLINE# def test_arg_group( self ) : #NEWLINE# #INDENT# blaa_group = OptGroup ( 'blaa' ) #NEWLINE# self . conf . register_group ( blaa_group ) #NEWLINE# self . conf . register_cli_opt ( StrOpt ( 'foo' ) , group = blaa_group ) #NEWLINE# self . conf ( [ '--blaa-foo' , 'bar' ] ) #NEWLINE# self . assertTrue ( hasattr ( self . conf , 'blaa' ) ) #NEWLINE# self . assertTrue ( hasattr ( self . conf . blaa , 'foo' ) ) #NEWLINE# self . assertEquals ( self . conf . blaa . foo , 'bar' )