All pastes #268512 Raw Edit

Miscellany

public text v1 · immutable
·published 2006-12-05 20:01 UTC
rendered paste body
Error in test test_history (Products.OpenPlans.tests.test_project.TestOpenProject)
Traceback (most recent call last):
  File "/home/jhammel/op25/lib/Zope-2.9-branch/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/jhammel/op25/zope/Products/OpenPlans/tests/test_project.py", line 30, in test_history
    history = portal_repository.getHistory(pageid)
  File "/home/jhammel/op25/zope/Products/CMFEditions/CopyModifyMergeRepositoryTool.py", line 333, in getHistory
    self._assertAuthorized(obj, AccessPreviousVersions, 'getHistory')
  File "/home/jhammel/op25/zope/Products/CMFEditions/CopyModifyMergeRepositoryTool.py", line 347, in _assertAuthorized
    raise Unauthorized(name)
Unauthorized: You are not allowed to access 'getHistory' in this context