Changeset 295 for WAeUP_SRP/trunk/tests
- Timestamp:
- 13 Jul 2006, 11:37:54 (18 years ago)
- Location:
- WAeUP_SRP/trunk/tests
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/tests/__init__.py
r263 r295 1 1 from Testing.ZopeTestCase import installProduct 2 2 3 installProduct('WAeUP ')3 installProduct('WAeUP_SRP') -
WAeUP_SRP/trunk/tests/test_test.py
r263 r295 4 4 import unittest 5 5 6 from waeuptest import WAeUP Test6 from waeuptest import WAeUP_SRPTest 7 7 8 class TestTesting(WAeUP Test):8 class TestTesting(WAeUP_SRPTest): 9 9 10 10 def testTest(self): -
WAeUP_SRP/trunk/tests/test_vocabularies.py
r267 r295 4 4 import unittest 5 5 6 from waeuptest import WAeUP Test6 from waeuptest import WAeUP_SRPTest 7 7 8 8 from Products.CMFCore.utils import getToolByName 9 9 10 class TestVocabularies(WAeUP Test):10 class TestVocabularies(WAeUP_SRPTest): 11 11 12 12 def afterSetUp(self): 13 13 wftool = getToolByName(self.portal, 'portal_workflow') 14 af = self.portal. uniportal.academics14 af = self.portal.campus.academics 15 15 wftool.invokeFactoryFor(af, 'Faculty', 'fac1') 16 16 fac1 = af.fac1 -
WAeUP_SRP/trunk/tests/waeuptest.py
r264 r295 7 7 8 8 class LayerClass(ExtensionProfileLayerClass): 9 extension_ids = ('WAeUP :default',)9 extension_ids = ('WAeUP_SRP:default',) 10 10 11 WAeUP Layer = LayerClass(__name__, 'WAeUPLayer')11 WAeUP_SRPLayer = LayerClass(__name__, 'WAeUP_SRPLayer') 12 12 13 class WAeUP Test(CPSTestCase):14 layer = WAeUP Layer13 class WAeUP_SRPTest(CPSTestCase): 14 layer = WAeUP_SRPLayer
Note: See TracChangeset for help on using the changeset viewer.