#NEWLINE# def test_sed_attributes_no_distance( self ) : #NEWLINE# #INDENT# sed = self . m . get_sed ( group = 0 , units = 'ergs/s' ) #NEWLINE# assert ( sed . ap_min == 2.0 ) #NEWLINE# assert ( sed . ap_max == 5.0 ) #NEWLINE# assert ( sed . d_min == ( - 2.0 ) ) #NEWLINE# assert ( sed . d_max == 3.0 ) #NEWLINE# assert ( sed . distance is None ) #NEWLINE# assert ( not sed . inside_observer ) #NEWLINE# assert ( sed . units == 'ergs/s' ) #NEWLINE# assert ( sed . nu . shape == ( 5 , ) ) #NEWLINE# assert ( sed . wav . shape == ( 5 , ) ) #NEWLINE# assert ( sed . val . shape == ( 2 , 4 , 5 ) )