mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-09-03 20:53:02 -05:00
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
This commit is contained in:
@@ -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 ) )
|
||||
|
||||
Reference in New Issue
Block a user