mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Gary Williams
18.15.2011 1e74e0188f7fccaa13972e6a797ed05584160fe8
opends/tests/staf-tests/shared/python/common.py
@@ -54,7 +54,8 @@
            "get_last_attr_from_entry" ,
            "list_matches" ,
            "count_attr" ,
            "host_is_localhost"]
            "host_is_localhost" ,
            "md5_hash"]
class format_testcase:
  'Format the Test name objects'
@@ -814,4 +815,11 @@
  else:
    return 0
  
def md5_hash():
  try:
    import hashlib
    m = hashlib.md5()
  except ImportError:
    import md5
    m = md5.new()
  return m