common.py revision 945930ece8ea73e5184836bf0bf3efad2e3e6c36
0N/A# The contents of this file are subject to the terms of the 0N/A# Common Development and Distribution License, Version 1.0 only 0N/A# (the "License"). You may not use this file except in compliance 0N/A# You can obtain a copy of the license at 0N/A# See the License for the specific language governing permissions 0N/A# and limitations under the License. 0N/A# When distributing Covered Code, include this CDDL HEADER in each 0N/A# file and include the License file at 873N/A# add the following below this CDDL HEADER, with the fields enclosed 0N/A# Portions Copyright [yyyy] [name of copyright owner] 0N/A# Copyright 2007-2009 Sun Microsystems, Inc. 0N/A# Portions Copyright 2011 ForgeRock AS. 1242N/A "directory_server_information",
0N/A "create_property_table",
0N/A "compare_property_table",
0N/A "xml_create_report" ,
338N/A "get_last_attr_from_entry" ,
0N/A "host_is_localhost"]
0N/A 'Format the Test name objects' 0N/A 'Container for Information about Directory Servers' 1242N/A 'Simple time related manipulation objects' 1242N/A 'Some simple basic utilities' 1242N/A 'User defined exceptions handlers' 1242N/A 'Create a table from an output' 0N/A 'Compare two tables' 2624N/A 'Container to hold DS instance objects' 0N/A 'Container to hold staf service instance objects' 1242N/A 'Container to hold test environment instance objects' 1242N/A 'Container to hold staf objects' 1242N/A 'Container to hold stax service objects' 1242N/A 'Container to hold event service objects' 1242N/A 'Container to hold event manager service objects' 1242N/A 'Container to hold email service objects' 0N/A 'Container to hold http service objects' 1242N/A 'Container to hold dsml service objects' 'Container to hold source data instance objects' 'Container to hold test log instance objects' 'Container to hold local and remote test data instance objects' 'Update java.properties file' #print 'get_last_attr_from_entry: %s' % changeAttr print 'get_last_attr_from_entry: %s' %
lastAttr # TODO: list item is empty do WARNING or ERROR print "list_matches: WARNING: list item %s is empty." %
itemnum print "list_matches: False. Match=(%s), Item=(%s)" % (
mylist[
0],
item)
print "Hit: attr (%s)" %
attr