#NEWLINE# def testAmount( self ) : #NEWLINE# #INDENT# value = self . parser . parse_value ( '40 EUR' ) #NEWLINE# entry1 = Entry ( self . bank , value ) #NEWLINE# entry2 = Entry ( self . expenses , None ) #NEWLINE# tr = Transaction ( [ entry1 , entry2 ] ) #NEWLINE# self . assertEqual ( ZERO , tr . amount )