From 63160a094342e47e4ecbc6f032947e61ac425280 Mon Sep 17 00:00:00 2001
From: Gary Williams <gary.williams@forgerock.com>
Date: Wed, 07 Mar 2012 15:33:15 +0000
Subject: [PATCH] Fix functional tests due to fallout from issue OPENDJ-438, plus others ..
---
opends/tests/staf-tests/shared/python/common.py | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/opends/tests/staf-tests/shared/python/common.py b/opends/tests/staf-tests/shared/python/common.py
index 2c3299d..4a54c8e 100644
--- a/opends/tests/staf-tests/shared/python/common.py
+++ b/opends/tests/staf-tests/shared/python/common.py
@@ -56,7 +56,8 @@
"count_attr" ,
"host_is_localhost" ,
"md5_hash" ,
- "value_not_string"
+ "value_not_string" ,
+ "get_system_uid"
]
class format_testcase:
@@ -876,3 +877,7 @@
else:
return 0
+def get_system_uid():
+ from java.lang import System
+ return System.getProperty("user.name")
+
--
Gitblit v1.10.0