#NEWLINE# def test_pulsar_config_builder_defaults( ) : #NEWLINE# #INDENT# with temp_directory ( ) as mock_root : #NEWLINE# #INDENT# __write_mock_ini ( join ( mock_root , 'server.ini' ) ) #NEWLINE# config = main . PulsarConfigBuilder ( config_dir = mock_root ) #NEWLINE# assert ( config . load ( ) [ 'foo' ] == 'bar1' )