#NEWLINE# def test_dummy_meter( data_collection ) : #NEWLINE# #INDENT# meter_yaml = '\n        !obj:eemeter.meter.DummyMeter {\n            input_mapping: { "value": { "name":"name", }, },\n            output_mapping: { "result": { "name":"result", }, },\n        }\n    ' #NEWLINE# meter = load ( meter_yaml ) #NEWLINE# result = meter . evaluate ( data_collection ) #NEWLINE# assert ( result . get_data ( name = 'result' ) . value == 'value' ) #NEWLINE# assert ( result . get_data ( name = 'name' ) == None )