Remove test obsoleted by r22001

Which rearranged the ApplyPayments code so that it's done from the
GncInvoice object instead of explicitly by the owner (or in this case,
GncCustomer).

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22151 57a11ea4-9604-0410-9ed3-97b8803252fd
pull/1/head
John Ralls 14 years ago
parent c725033cea
commit 3929c80288

@ -58,25 +58,6 @@ class TestBusiness( BusinessSession ):
def test_post(self):
self.assertTrue( self.invoice.IsPosted() )
def test_payment(self):
self.assertFalse( self.invoice.IsPaid() )
self.customer.ApplyPayment(
self.invoice,
self.receivable, self.bank,
GncNumeric(50), GncNumeric(50),
self.today,
"", "")
self.assertFalse( self.invoice.IsPaid() )
BAL = self.invoice.GetPostedLot().get_balance()
self.assertTrue( GncNumeric(50).equal( BAL ) )
self.customer.ApplyPayment(
self.invoice,
self.receivable, self.bank,
GncNumeric(50), GncNumeric(50),
self.today,
"", "")
self.assertTrue( self.invoice.IsPaid() )
def test_owner(self):
OWNER = self.invoice.GetOwner()
self.assertTrue( self.customer.Equal( OWNER ) )

Loading…
Cancel
Save