#NEWLINE# def test_get_reading_types( natural_gas_parser ) : #NEWLINE# #INDENT# reading_type_data = natural_gas_parser . get_reading_type ( ) #NEWLINE# assert ( reading_type_data [ 'accumulation_behavior' ] == 'deltaData' ) #NEWLINE# assert ( reading_type_data [ 'data_qualifier' ] == 'normal' ) #NEWLINE# assert ( reading_type_data [ 'interval_length' ] . days == 1 ) #NEWLINE# assert ( reading_type_data [ 'flow_direction' ] == 'forward' ) #NEWLINE# assert ( reading_type_data [ 'kind' ] == 'energy' ) #NEWLINE# assert ( reading_type_data [ 'time_attribute' ] == None ) #NEWLINE# assert ( reading_type_data [ 'commodity' ] == 'naturalGas' ) #NEWLINE# assert ( reading_type_data [ 'measuring_period' ] == 'twentyfourHour' ) #NEWLINE# assert ( reading_type_data [ 'power_of_ten_multiplier' ] == ( - 8 ) ) #NEWLINE# assert ( reading_type_data [ 'default_quality' ] == 'validated' ) #NEWLINE# assert ( reading_type_data [ 'uom' ] == 'therm' )