diff options
author | ma0178@student.uni-lj.si <ma0178@student.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414> | 2015-01-13 07:54:33 +0000 |
---|---|---|
committer | ma0178@student.uni-lj.si <ma0178@student.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414> | 2015-01-13 07:54:33 +0000 |
commit | 58f42afd36c324a36a8b64f7c53d949059ab9378 (patch) | |
tree | a123cef02de2a1acbd8107359762579cb4e5bc12 /kpov_judge | |
parent | 391c63e2c012be07df51d24f1ee99dc95de7ebc4 (diff) |
git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@171 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414
Diffstat (limited to 'kpov_judge')
-rw-r--r-- | kpov_judge/tasks/radius_mysql_pam/task.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kpov_judge/tasks/radius_mysql_pam/task.py b/kpov_judge/tasks/radius_mysql_pam/task.py index 95c6626..8cb6159 100644 --- a/kpov_judge/tasks/radius_mysql_pam/task.py +++ b/kpov_judge/tasks/radius_mysql_pam/task.py @@ -77,9 +77,13 @@ def task(IP_RS, RADIUS_SECRET, RADIUS_USERNAME, RADIUS_PASSWORD, MYSQL_ADMIN_USE sR = pxssh.pxssh()
sR.login(IP_RS, peer_user, peer_passwd)
+ # Testiranje radius strtežnika
results['Test_RadiusServer'] = sR.run('radtest {0} {1} {3} 1812 {4}'.format(
RADIUS_USERNAME, RADIUS_USERNAME,
RADIUS_PASSWORD, IP_RS, RADIUS_SECRET))
+
+ # Testiranje podatkovne base mysql
+ results['Test_PB_mysql'] = sR.run()
return results
def gen_params(user_id, params_meta):
|