def testClusters(cfg):
    m = "testClusters:"
    sop(m,"Entry.")

    exceptionMessage = ""

    try:
        retval = getServerIDsForClusters('NonExistantClusterName')
    except:
        ( exceptionMessage, parms, tback ) = sys.exc_info()

    if exceptionMessage != "getServerIDsForClusters only accepts a list as input":
        sop(m,"getServerIDsForClusters returned %s" % ( repr( retval ) ))
        errbrk(m,"getServerIDsForClusters did not raise expected exception message")

    sop(m,"Exit. Success.")

#-----------------------------------------------------------------------
# Full suites.
#-----------------------------------------------------------------------
Test cluster functions.
dataset/ETHPy150Open wsadminlib/wsadminlib/tests/wsadminlib.test.py/testClusters