#NEWLINE# def test_get_extra_price_id_no_items( self ) : #NEWLINE# #INDENT# ex = self . assertRaises ( SoftLayer . SoftLayerError , managers . hardware . _get_extra_price_id , [ ] , 'test' , True , None ) #NEWLINE# self . assertEqual ( "Could not find valid price for extra option, 'test'" , str ( ex ) )