#NEWLINE# def test_parsing( self ) : #NEWLINE# #INDENT# filename = make_temp_dir ( 'config_test.hdf5' ) #NEWLINE# env = Environment ( filename = filename , config = self . parser ) #NEWLINE# traj = env . v_traj #NEWLINE# self . assertTrue ( traj . v_auto_load ) #NEWLINE# self . assertEqual ( traj . v_storage_service . filename , self ) #NEWLINE# self . assertEqual ( traj . x , 42 ) #NEWLINE# self . assertEqual ( traj . f_get ( 'y' ) . v_comment , 'This is the second variable' ) #NEWLINE# self . assertTrue ( traj . testconfig ) #NEWLINE# self . assertTrue ( ( env . _logging_manager . log_config is not None ) ) #NEWLINE# self . assertTrue ( ( env . _logging_manager . _sp_config is not None ) ) #NEWLINE# env . f_disable_logging ( )