Skip to content

Commit

Permalink
Fix check for port
Browse files Browse the repository at this point in the history
  • Loading branch information
davisagli committed Sep 30, 2018
1 parent a79e162 commit dbc9922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plone/app/testing/layers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ indicate where Zope is running.

>>> port = layers.PLONE_WSGISERVER['port']
>>> import os
>>> port == int(os.environ.get('WSGI_SERVER_PORT', 55001))
>>> port == int(os.environ.get('WSGI_SERVER_PORT', os.environ.get('ZSERVER_PORT', 55001)))
True

Let's now simulate a test. Test setup does nothing beyond what the base layers
Expand Down

0 comments on commit dbc9922

Please sign in to comment.