diff options
author | Hanno Schlichting <hanno@hannosch.eu> | 2009-12-16 00:20:28 +0000 |
---|---|---|
committer | Hanno Schlichting <hanno@hannosch.eu> | 2009-12-16 00:20:28 +0000 |
commit | a98708726c2a125f92da95026d65c2a0ef522668 (patch) | |
tree | ef373a00ee962e37f6870592816103acb167ba0e /src/zope/traversing/tests/test_vhosting.py | |
parent | 2a6b8741f637ad82bc345fcb313dc46cdb6cf384 (diff) | |
download | zope-traversing-a98708726c2a125f92da95026d65c2a0ef522668.tar.gz |
Removed testing dependency on zope.app.zcmlfiles in favor of more explicit dependencies.
Diffstat (limited to 'src/zope/traversing/tests/test_vhosting.py')
-rw-r--r-- | src/zope/traversing/tests/test_vhosting.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/zope/traversing/tests/test_vhosting.py b/src/zope/traversing/tests/test_vhosting.py index 59fa426..e2897a2 100644 --- a/src/zope/traversing/tests/test_vhosting.py +++ b/src/zope/traversing/tests/test_vhosting.py @@ -62,6 +62,14 @@ class MyPageEval(object): return template.render(template.__parent__, request, **kw) +class MyFolderPage(object): + + def index(self, **kw): + """My folder page""" + self.request.response.redirect('index.html') + return '' + + class TestVirtualHosting(functional.BrowserTestCase): layer = TraversingLayer |