#NEWLINE# def test_order_discount_price( self ) : #NEWLINE# #INDENT# 'Tests the price of the discount within an order.\n        ' #NEWLINE# order = add_order ( self . request ) #NEWLINE# for order_item in order . items . all ( ) : #NEWLINE# #INDENT# if ( order . product_name == 'Summer' ) : #NEWLINE# #INDENT# self . assertEqual ( ( '%.2f' % order_item . price_net ) , '-8.40' ) #NEWLINE# self . assertEqual ( ( '%.2f' % order_item . product_price_net ) , '-8.40' )