Commit 0f1a89c0 authored by Andreas Jung's avatar Andreas Jung

cleanup

parent fb607f60
...@@ -72,9 +72,9 @@ class TestPUTFactory(unittest.TestCase): ...@@ -72,9 +72,9 @@ class TestPUTFactory(unittest.TestCase):
from OFS.Folder import manage_addFolder from OFS.Folder import manage_addFolder
from OFS.DTMLMethod import addDTMLMethod from OFS.DTMLMethod import addDTMLMethod
manage_addFolder(self.app, 'A') self.app.manage_addFolder('A', '')
addDTMLMethod(self.app, 'a', file='I am file a') addDTMLMethod(self.app, 'a', file='I am file a')
manage_addFolder(self.app.A, 'B') self.app.A.manage_addFolder('B', '')
request = self.app.REQUEST request = self.app.REQUEST
# this should create 'a' within /A/B containing 'bar' # this should create 'a' within /A/B containing 'bar'
put = request.traverse('/A/B/a') put = request.traverse('/A/B/a')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment