diff --git a/src/plone/app/testing/layers.rst b/src/plone/app/testing/layers.rst index 89656f1..6cf1ca7 100644 --- a/src/plone/app/testing/layers.rst +++ b/src/plone/app/testing/layers.rst @@ -338,7 +338,7 @@ We can now look for this new object through the server. ['http', '//localhost'] >>> from six.moves.urllib.request import urlopen - >>> conn = urlopen(portal_url + '/Title', timeout=10) + >>> conn = urlopen(portal_url, timeout=10) >>> responseBody = conn.read() >>> b"Fancy Portal" in responseBody True