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

All Samples(22)  |  Call(0)  |  Derive(15)  |  Import(7)

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/tests/testTaxTables.py   Products.BastionLedger(Download)
 
from unittest import TestSuite, makeSuite
from Products.BastionLedger.tests.LedgerTestCase import LedgerTestCase
from Acquisition import aq_base
from DateTime import DateTime
from Products.BastionBanking.ZCurrency import ZCurrency
from Products.BastionLedger.utils import floor_date
 
 
class TestTaxTables(LedgerTestCase):

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/tests/testSubsidiaryTransaction.py   Products.BastionLedger(Download)
 
from unittest import TestSuite, makeSuite
from Products.BastionLedger.tests.LedgerTestCase import LedgerTestCase
 
from Acquisition import aq_base
class TestSubsidiaryTransaction(LedgerTestCase):
    """
    verify transaction workflow
    """
    def testEntry(self):

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/tests/testQuickInstall.py   Products.BastionLedger(Download)
class TestQuickInstall(LedgerTestCase.LedgerTestCase):
    """
    If our Extensions/Install.py is broken, then this test will tell us as otherwise
    QuickInstallerTool silently ignores it ...
    """

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/tests/testProduct.py   Products.BastionLedger(Download)
class TestBastionLedger(LedgerTestCase.LedgerTestCase):
 
    def testCreated(self):
        # f**k knows why these guys behave like ghosts!!
        ledgers = self.ledger.objectIds()

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/tests/testPeriodEnd.py   Products.BastionLedger(Download)
class TestPeriodEnd(LedgerTestCase.LedgerTestCase):
 
    def testCreated(self):
        self.failUnless(self.controller_tool.periodend_tool)
 

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/tests/testPayroll.py   Products.BastionLedger(Download)
 
from unittest import TestSuite, makeSuite
from Products.BastionLedger.tests.LedgerTestCase import LedgerTestCase
 
from Acquisition import aq_base
from DateTime import DateTime
from Products.BastionBanking.ZCurrency import ZCurrency
 
 
class TestPayroll(LedgerTestCase):

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/tests/testLedgerTool.py   Products.BastionLedger(Download)
class TestLedgerTool(LedgerTestCase.LedgerTestCase):
 
    def testIt(self):
        # the big all-in test ...
	self.failUnless('portal_bastionledger' in self.portal.objectIds())

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/tests/testLedgerTestCase.py   Products.BastionLedger(Download)
 
from Acquisition import aq_base
from Products.BastionLedger.tests.LedgerTestCase import LedgerTestCase, portal_name, \
     ledger_name, ledger_products
 
 
class TestLedgerTestCase(LedgerTestCase):

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/tests/testLedger.py   Products.BastionLedger(Download)
 
from Products.BastionBanking.ZCurrency import ZCurrency
from Products.BastionLedger.tests.LedgerTestCase import LedgerTestCase
from Products.BastionLedger.BLAssociations import ASSOCIATIONS
from Products.AdvancedQuery import Eq
 
# copying/pasting etc (indexing takes a long time)
ALL_TESTS = False
 
class TestLedger(LedgerTestCase):

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

  1 | 2  Next