Skip to content

Commit

Permalink
Now we just get a free port
Browse files Browse the repository at this point in the history
  • Loading branch information
davisagli committed Oct 4, 2018
1 parent dbc9922 commit 44bd8f0
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', os.environ.get('ZSERVER_PORT', 55001)))
>>> port > 0
True

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

0 comments on commit 44bd8f0

Please sign in to comment.