acs::test::set_user (private)

 acs::test::set_user [ -session session ] user_info

Defined in packages/acs-automated-testing/tcl/aa-test-procs.tcl

When (login) cookies are given as member of "session", use these. In case the login cookie is empty (after an explicit logout) do NOT automatically log in. When (login) cookies are not given, use "user_info" for authentication. When we have a "user_id" and "address" in the "user_info", use these for direct logins. Otherwise the person info (name, email, ...) to log via register.

Switches:
-session (optional)
when given, use login information from there
Parameters:
user_info (required)
dict containing user_id+session and/or email, last_name, username and password

Testcases:
No testcase defined.
[ show source ]
Show another procedure: