Changeset 69


Ignore:
Timestamp:
01/13/06 14:12:16 (14 years ago)
Author:
laszlo
Message:

Fix import statements, see #165.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Module.py

    r66 r69  
    77from AccessControl import ClassSecurityInfo, Unauthorized, getSecurityManager 
    88from config import PROJECTNAME 
    9 from LOMSchema import LOMSchema 
     9from LOM import LOMSchema 
    1010from Products.Archetypes.ExtensibleMetadata import ExtensibleMetadata 
    1111from ZODB.PersistentList import PersistentList 
  • trunk/tests/testModule.py

    r66 r69  
    3434        ob.edit(title=TITLE, LOMIdentifier=LOMID, LOMCoverage=LOMCOV) 
    3535        self.assertEqual(self.folder.TestModule.Title(), TITLE) 
    36         self.assertEqual(self.folder.TestModule.getLOMIdentifier(), LOMID) 
    3736        self.assertEqual(self.folder.TestModule.getLOMCoverage(), LOMCOV) 
    3837        
    3938    def testBody(self):     
    4039        TITLE='Test' 
    41         LOMID='IDtest' 
    4240        LOMCOV='coverageTest' 
    4341        BODY='Visible body' 
    4442        ob=self.construct('Module', 'TestModule' ,self.folder) 
    45         ob.edit(title=TITLE, LOMIdentifier=LOMID, LOMCoverage=LOMCOV, body=BODY) 
     43        ob.edit(title=TITLE, LOMCoverage=LOMCOV, body=BODY) 
    4644        path=ob.absolute_url_path() 
    4745        result=self.publish(path).getBody() 
Note: See TracChangeset for help on using the changeset viewer.