Skip to content

Commit

Permalink
Make PLONE_FTP_SERVER tests pass also if they run on Jenkins with the…
Browse files Browse the repository at this point in the history
… port allocator plugin.
  • Loading branch information
tisto committed Feb 12, 2014
1 parent feaf7d8 commit 50c7e65
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions plone/app/testing/layers.rst
Expand Up @@ -406,8 +406,9 @@ indicate where Zope is running.
'localhost'

>>> port = layers.PLONE_FTP_SERVER['port']
>>> port
55002
>>> import os
>>> port == int(os.environ.get('ZSERVER_PORT', 55002))
True

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

0 comments on commit 50c7e65

Please sign in to comment.