#NEWLINE# def test_get_tax( self ) : #NEWLINE# #INDENT# '\n        ' #NEWLINE# tax = self . p1 . get_tax ( self . request ) #NEWLINE# self . assertEqual ( ( '%.2f' % tax ) , '0.16' ) #NEWLINE# self . v1 . active_price = False #NEWLINE# tax = self . v1 . get_tax ( self . request ) #NEWLINE# self . assertEqual ( ( '%.2f' % tax ) , '0.16' ) #NEWLINE# self . v1 . active_price = True #NEWLINE# tax = self . v1 . get_tax ( self . request ) #NEWLINE# self . assertEqual ( ( '%.2f' % tax ) , '0.32' ) #NEWLINE# tax = self . p2 . get_tax ( self . request ) #NEWLINE# self . assertEqual ( ( '%.2f' % self ) , '0.00' )