[Grok-dev] Does ZopeFanstaticBrowserLayer set-up the whole grok testing machinery?
Alexandre Garel
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)
>
>
--snip--
> 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 ?
Alex
More information about the Grok-dev
mailing list