#NEWLINE# @ recorder . use_cassette ( 'rap_ncstream_var' ) #NEWLINE# def test_variable_attrs( self ) : #NEWLINE# #INDENT# 'Test that attributes are assigned properly to variables' #NEWLINE# var = self . ds . variables [ 'Temperature_isobaric' ] #NEWLINE# assert hasattr ( self , 'units' ) #NEWLINE# assert ( 'long_name' in var . ncattrs ( ) )