From: Anil-Kumar Vengalil Date: Wed, 7 Oct 2009 13:21:37 +0000 (+0000) Subject: test framework now has a new account with admin right X-Git-Tag: tests-4.3-4~3 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=7cecf13207bab1c156efd81c3eb2d92080c34c88;p=tests.git test framework now has a new account with admin right --- diff --git a/system/TestPlc.py b/system/TestPlc.py index 2f7525a..ddd3227 100644 --- a/system/TestPlc.py +++ b/system/TestPlc.py @@ -745,7 +745,7 @@ class TestPlc: local_key = "keys/%(vservername)s-debug.rsa"%locals() else: message="boot" - local_key = "keys/%(vservername)s.rsa"%locals() + local_key = "keys/key1.rsa" tocheck = self.all_hostnames() utils.header("checking ssh access (expected in %s mode) to nodes %r"%(message,tocheck)) utils.header("max timeout is %d minutes, silent for %d minutes (period is %s)"%\ diff --git a/system/config_default.py b/system/config_default.py index c9d6e08..c1850ee 100644 --- a/system/config_default.py +++ b/system/config_default.py @@ -62,6 +62,13 @@ def users (options) : 'email':'fake-pi2@%s'%domain, 'password':'testusertech'}, 'roles':['pi','tech']}, + {'name':'admin', 'keynames' : [ 'key1' ], + 'user_fields' : {'first_name':'Admin', + 'last_name':'Admin', + 'enabled':'true', + 'email':'admin@%s'%domain, + 'password':'testuseradmin'}, + 'roles':['admin']}, ] def all_usernames (options):