From 95df27ba132972c7c6ad68d61bce4e50b2377e3a Mon Sep 17 00:00:00 2001 From: Michael Howitz Date: Fri, 29 Mar 2019 17:07:13 +0100 Subject: [PATCH] Fix documentation --- src/plone/testing/zope.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/plone/testing/zope.py b/src/plone/testing/zope.py index 8657598..6af2c81 100644 --- a/src/plone/testing/zope.py +++ b/src/plone/testing/zope.py @@ -709,15 +709,15 @@ class IntegrationTesting(Layer): create a new layer that has ``STARTUP`` as a base. Then instantiate this layer with your new "fixture" layer as a base, e.g.:: - from plone.testing import wsgi + from plone.testing import zope from plone.testing import Layer class MyFixture(Layer): ... - MY_FIXTURE = MyFixture(bases=(wsgi.STARTUP,), name='MyFixture') - MY_INTEGRATION_TESTING = wsgi.IntegrationTesting(bases=(MY_FIXTURE,), name='MyFixture:Integration') # noqa + MY_FIXTURE = MyFixture(bases=(zope.STARTUP,), name='MyFixture') + MY_INTEGRATION_TESTING = zope.IntegrationTesting(bases=(MY_FIXTURE,), name='MyFixture:Integration') # noqa """ defaultBases = (STARTUP,) @@ -803,15 +803,15 @@ class FunctionalTesting(Layer): create a new layer that has ``STARTUP`` as a base. Then instantiate this layer with your new "fixture" layer as a base, e.g.:: - from plone.testing import wsgi + from plone.testing import zope from plone.testing import Layer class MyFixture(Layer): ... - MY_FIXTURE = MyFixture(bases=(wsgi.STARTUP,), name='MyFixture') - MY_FUNCTIONAL_TESTING = wsgi.FunctionalTesting(bases=(MY_FIXTURE,), name='MyFixture:Functional') # noqa + MY_FIXTURE = MyFixture(bases=(zope.STARTUP,), name='MyFixture') + MY_FUNCTIONAL_TESTING = zope.FunctionalTesting(bases=(MY_FIXTURE,), name='MyFixture:Functional') # noqa """ defaultBases = (STARTUP,)