|
def | test_equal (self) |
|
def | test_employee_name (self) |
|
def | test_post (self) |
|
def | test_owner (self) |
|
def | test_commodities (self) |
|
def | test_invoice_transaction (self) |
|
def | setUp (self) |
|
def | setUp (self) |
|
|
| today |
|
| bank |
|
| income |
|
| receivable |
|
| customer |
|
| vendor |
|
| employee |
|
| job |
|
| invoice |
|
| ses |
|
| book |
|
| table |
|
| currency |
|
Definition at line 46 of file test_business.py.
◆ test_invoice_transaction()
def test_business.TestBusiness.test_invoice_transaction |
( |
|
self | ) |
|
Test that you can get the posted transaction from a posted invoice and that you can get the invoice back from the transaction.
Definition at line 77 of file test_business.py.
77 def test_invoice_transaction(self):
79 Test that you can get the posted transaction from a posted invoice and that you can get the invoice back from the transaction. 81 posted_transaction = self.invoice.GetPostedTxn()
82 self.assertTrue( posted_transaction !=
None )
83 invoice_from_transaction = posted_transaction.GetInvoiceFromTxn()
84 self.assertTrue( invoice_from_transaction !=
None and invoice_from_transaction.GetID() == self.invoice.GetID() )
The documentation for this class was generated from the following file: