def test_2(**kwds):

    from histogram.DictAttributeCont import AttributeCont
    attCont = AttributeCont()

    attCont.setAttribute('name', 'timmah!')

    passed = True
    name = attCont.getAttribute('name')
    if name != 'timmah!':
        passed = False
        log("value of 'name' attribute ({0!s}) was incorrect".format(name))

    return passed
def test_2( **kwds):

    from histogram.DictAttributeCont import AttributeCont
    attCont = AttributeCont()

    attCont.setAttribute( 'name', 'timmah!')

    passed = True
    name = attCont.getAttribute('name')
    if name != 'timmah!':
        passed = False
        log("value of 'name' attribute (%s) was incorrect" % name)  
        
    return passed