[Grok-dev] Does ZopeFanstaticBrowserLayer set-up the whole grok testing machinery?
alex.garel at tarentis.com
Mon Nov 21 13:26:17 UTC 2011
Le 16/11/2011 07:46, Noe Nieto a écrit :
> Hi, I have something like this in myproject/tests/tests.py
> import unittest
> import doctest
> from zope.fanstatic.testing import ZopeFanstaticBrowserLayer
> import myproject.tests
> browser_layer = ZopeFanstaticBrowserLayer(myproject.tests)
> So, When running the tests in app.txt with zope.testrunner, does
> ZopeFanstaticBrowserLayer set-up the whole grok testing machinery?
Sorry for my knowings in this area are poor, but what is grokked or
setup normally depends on your ftesting.zcml. Did you verify that you
include all needed zcml and/or grok every module needed ?
More information about the Grok-dev