X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=system%2Fconfig_default.py;h=79b1bec60e79292f2c501ad7172a0f049bc5e352;hb=8cd70158d8a3071644e8fbb8a68ecde9e1135056;hp=43912ac5fc402efb4e5b07b5535a8a7c3e604c13;hpb=8784482276681d70514f4fedcadb2e8f87ea7d52;p=tests.git diff --git a/system/config_default.py b/system/config_default.py index 43912ac..79b1bec 100644 --- a/system/config_default.py +++ b/system/config_default.py @@ -539,7 +539,7 @@ def sfa (options,index) : for rspec_style in options.rspec_styles ] } -# rspecstyle is 'pl' for sfav1 or 'pg' for pgv2 +# rspec_style is 'pl' for sfav1 or 'pg' for pgv2 def test_auth_sfa_spec (options,index,rspec_style): # the auth/site part per se login_base=sfa_login_base(index,rspec_style) @@ -547,16 +547,20 @@ def test_auth_sfa_spec (options,index,rspec_style): def full_hrn(x): return "%s.%s"%(hrn_prefix,x) def full_mail(x): return "%s@test.%s"%(x,domain) - # 2 users + # 2 users; we use dashes on purpose, as it might show up in email addresses +# pi_alias = 'pi-user' +# user_alias = 'reg-user' + pi_alias = 'pi' + user_alias = 'user' + # pi_spec = { - 'name': 'pi', - 'email': full_mail ('piuser'), + 'name': pi_alias, + 'email': full_mail (pi_alias), 'key_name': 'key_sfapi', } - user_hrn = full_hrn ('us') user_spec = { - 'name': 'us', - 'email': full_mail ('regularuser'), + 'name': user_alias, + 'email': full_mail (user_alias), 'key_name': 'key_sfauser', 'add_options': [ '--extra',"first_name=Fake", '--extra',"last_name=SFA-style-%s"%rspec_style, @@ -567,7 +571,7 @@ def test_auth_sfa_spec (options,index,rspec_style): slice_spec = { 'name': 'sl', - 'add_options': [ '--researchers', user_hrn, + 'add_options': [ '--researchers', full_hrn (user_alias), # xxx '--extra', "description=SFA-testing-%s"%rspec_style, '--extra', "url=http://slice%d.test.onelab.eu/"%index,