#NEWLINE# def test_override_foo_section( self ) : #NEWLINE# #INDENT# self . conf . sections = Mock ( return_value = [ 'ceph-deploy-global' , 'ceph-deploy-foo' ] ) #NEWLINE# self . conf . items = Mock ( return_value = ( ( 'bar' , 1 ) , ) ) #NEWLINE# arg_obj = conf . cephdeploy . set_overrides ( self . args , self . conf ) #NEWLINE# assert ( arg_obj . bar == 1 )