Exemple #1
0
def module_org():
    org = entities.Organization(
        name="insights_{0}".format(gen_string("alpha", 6))).create()
    with manifests.clone() as manifest:
        up_man(org.id, manifest.content)
    yield org
    org.delete()
Exemple #2
0
def module_org():
    org = entities.Organization(name="insights_{0}".format(
        gen_string("alpha", 6))).create()
    with manifests.clone() as manifest:
        up_man(org.id, manifest.content)
    yield org
    org.delete()