Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(2) | Call(1) | Derive(0) | Import(1)
src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/tests/testAssetRegister.py Products.BastionLedger(Download)
from DateTime import DateTime from Products.BastionBanking.ZCurrency import ZCurrency from Products.BastionLedger.BLAssetRegister import BLAsset, EPOCH dtrange = (DateTime('2006/01/01'), DateTime('2006/12/31'))
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'