def main():
    """
    TODO: A test which should actually be moved into a nosetest
    :return: 
    """
    d = ConfigDict("cloudmesh.yaml")
    print(d, end='')
    d.info()

    print(d["meta"])
    print(d["meta.kind"])
    print(d["meta"]["kind"])

    # this does not yet work
    d.data["cloudmesh"]["profile"]["firstname"] = 'ABC'
    print(d)
    d.save()

    import os

    os.system("cat cmd3.yaml")

    print(d.json)
    print(d.filename)
    print("YAML")
    print(d.yaml)
def main ( ) : d = ConfigDict ( "cloudmesh.yaml" ) print ( d , end = '' ) d . info ( ) print ( d [ "meta" ] ) print ( d [ "meta.kind" ] ) print ( d [ "meta" ] [ "kind" ] ) d . data [ "cloudmesh" ] [ "profile" ] [ "firstname" ] = 'ABC' print ( d ) d . save ( ) import os os . system ( "cat cmd3.yaml" ) print ( d . json ) print ( d . filename ) print ( "YAML" ) print ( d . yaml )
TODO: A test which should actually be moved into a nosetest
    :return: