Back to index

plone3  3.1.7
zopeconfig.py
Go to the documentation of this file.
00001 
00002 from kss.demo.interfaces import (
00003     IKSSDemoResource,
00004     IKSSSeleniumTestResource,
00005     )
00006 from kss.demo.resource import (
00007     KSSDemo,
00008     KSSSeleniumTestDirectory,
00009     )
00010 from zope.interface import implements
00011      
00012 # Create a mesh of provided interfaces
00013 # This is needed, because an utility must have a single interface.
00014 class IResource(IKSSDemoResource, IKSSSeleniumTestResource):
00015     pass
00016 
00017 class ValueProviderDemos(object):
00018     implements(IResource)
00019 
00020     demos = (
00021         KSSDemo('', 'Value providers', 'pf_forms.html', 'Forms'),
00022         KSSDemo('', 'Value providers', 'kss_form_submit_multiprop.html', 'Form submit, with multiproperties'),
00023         )
00024 
00025     # directories are relative from the location of this .py file
00026     selenium_tests = (
00027         KSSSeleniumTestDirectory('selenium_tests'),
00028         )