#NEWLINE# @ classmethod #NEWLINE# def setUpClass( self ) : #NEWLINE# #INDENT# self . required_esgf_keys = set ( [ 'data_source' , 'dataset_id' , 'variable' , 'esgf_username' , 'esgf_password' ] ) #NEWLINE# example_config_yaml = '\n           - data_source: esgf\n             dataset_id: fake dataset id\n             variable: pr\n             esgf_username: my esgf username\n             esgf_password: my esgf password\n\n           - data_source: esgf\n        ' #NEWLINE# conf = yaml . load ( example_config_yaml ) #NEWLINE# self . valid_esgf = conf [ 0 ] #NEWLINE# self . invalid_esgf = conf [ 1 ]