Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/tests/testTaxTables.py   Products.BastionLedger(Download)
    def afterSetUp(self):
        LedgerTestCase.afterSetUp(self)
	self.controller_tool.manage_addProduct['BastionLedger'].manage_addBLTaxTable('company_tax')
        self.table = self.controller_tool.company_tax
        self.addRate = self.table.manage_addProduct['BastionLedger'].manage_addBLTaxTableRecord

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/tests/testInventory.py   Products.BastionLedger(Download)
    def afterSetUp(self):
        LedgerTestCase.LedgerTestCase.afterSetUp(self)
        self.ledger.Inventory.manage_addProduct['BastionLedger'].manage_addBLPart('widget')
        self.widget = self.ledger.Inventory.widget
 

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/tests/testAssetRegister.py   Products.BastionLedger(Download)
    def afterSetUp(self):
        LedgerTestCase.afterSetUp(self)
        asset = self.portal.asset = BLAsset('asset', 'Asset','', DateTime('2006/01/01'), ZCurrency('GBP1000'), 'A000006', 'Prime Cost', 1, [])
        # fudge timezone ...
        asset.timezone = 'EST'

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/tests/testPayroll.py   Products.BastionLedger(Download)
    def afterSetUp(self):
        LedgerTestCase.afterSetUp(self)
        self.payroll = payroll = self.ledger.Payroll
        payroll.currencies = ['GBP']
        payroll.manage_addProduct['BastionLedger'].manage_addBLEmployee('me', 'GBP', self.now - 7)