from grok.testing import register_all_tests test_suite = register_all_tests('grok.tests.testsetup.cave_to_let')
import os.path from zope.app.testing.functional import ZCMLLayer from grok.testing import register_all_tests samplelayer = ZCMLLayer(os.path.join(os.path.dirname(__file__), "sample.zcml"), __name__, "CustomSampleLayer") test_suite = register_all_tests("grok.tests.testsetup.cave", layer=samplelayer)
import os.path from grok.testing import register_all_tests test_suite = register_all_tests( 'grok.tests.testsetup.cave', zcml_config = os.path.join(os.path.dirname(__file__), 'sample.zcml'), layer_name = 'CustomLayerFromPath')