[Zope-CVS] CVS: Packages/FunctionalTests/examples - .zftrc:1.2 simple_redirect.zft:1.2 simple_zope:1.2
Tres Seaver
tseaver@zope.com
Sat, 24 May 2003 18:17:25 -0400
Update of /cvs-repository/Packages/FunctionalTests/examples
In directory cvs.zope.org:/tmp/cvs-serv21045/examples
Modified Files:
.zftrc simple_redirect.zft simple_zope
Log Message:
- Use 'site_host' instead of 'portal_url' everywhere.
=== Packages/FunctionalTests/examples/.zftrc 1.1 => 1.2 ===
--- Packages/FunctionalTests/examples/.zftrc:1.1 Tue Nov 6 15:00:12 2001
+++ Packages/FunctionalTests/examples/.zftrc Sat May 24 18:17:24 2003
@@ -1,3 +1,3 @@
[DEFAULT]
-portal_url: http://localhost:11080
+site_host: http://localhost:8080
site_path: functest
=== Packages/FunctionalTests/examples/simple_redirect.zft 1.1 => 1.2 ===
--- Packages/FunctionalTests/examples/simple_redirect.zft:1.1 Tue May 20 09:21:26 2003
+++ Packages/FunctionalTests/examples/simple_redirect.zft Sat May 24 18:17:24 2003
@@ -3,8 +3,8 @@
Use_case: Redirect
[Redirector]
-URL: %(portal_url)s/%(site_path)s/do_redirect
+URL: %(site_host)s/%(site_path)s/do_redirect
Expected_Result: 302
-Expected_Redirect: %(portal_url)s/%(site_path)s/index_html
+Expected_Redirect: %(site_host)s/%(site_path)s/index_html
[DEFAULT]
=== Packages/FunctionalTests/examples/simple_zope 1.1 => 1.2 ===
--- Packages/FunctionalTests/examples/simple_zope:1.1 Tue Nov 6 15:00:12 2001
+++ Packages/FunctionalTests/examples/simple_zope Sat May 24 18:17:24 2003
@@ -3,21 +3,21 @@
Use_case: Member logs in
[Home_Page]
-URL: %(portal_url)s/%(site_path)s
+URL: %(site_host)s/%(site_path)s
Expected_Result: 200
[Login_Form]
-URL: %(portal_url)s/%(site_path)s/login_form
+URL: %(site_host)s/%(site_path)s/login_form
Expected_Result: 200
[Login]
-URL: %(portal_url)s/%(site_path)s/logged_in
+URL: %(site_host)s/%(site_path)s/logged_in
Field_1: %(doh)sac_name:string = %(userid)s
Field_2: %(doh)sac_password:string = %(password)s
Expected_Result: 200
[My_Stuff]
-URL: %(portal_url)s/%(site_path)s/Members/%(userid)s/folder_contents
+URL: %(site_host)s/%(site_path)s/Members/%(userid)s/folder_contents
# Authentication could be via cookie, instead
Authentication: %(userid)s:%(password)s
Expected_Result: 200