#NEWLINE# def test_get_size_price( self ) : #NEWLINE# #INDENT# libcloud . pricing . PRICING_DATA [ 'compute' ] [ 'foo' ] = { #NEWLINE# #INDENT# 2 : 2 , #NEWLINE# '3' : 3 , #NEWLINE# #UNINDENT# } #NEWLINE# price1 = libcloud . pricing . get_size_price ( driver_type = 'compute' , driver_name = 'foo' , size_id = 2 ) #NEWLINE# price2 = libcloud . pricing . get_size_price ( driver_type = 'compute' , driver_name = 'foo' , size_id = '3' ) #NEWLINE# self . assertEqual ( price1 , 2 ) #NEWLINE# self . assertEqual ( price2 , 3 )