Skip to content

Commit

Permalink
Fix documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Howitz authored Mar 29, 2019
1 parent e50f97f commit 95df27b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/plone/testing/zope.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,)
Expand Down Expand Up @@ -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,)
Expand Down

1 comment on commit 95df27b

@jenkins-plone-org
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@icemac Jenkins CI reporting about code analysis
See the full report here: https://jenkins.plone.org/job/package-plone.testing/157/violations

src/plone/testing/layer.py:127:13: W503 line break before binary operator
src/plone/testing/layer.py:128:13: W503 line break before binary operator

Follow these instructions to reproduce it locally.

Please sign in to comment.