organizations: add endpoint list_roots

This commit is contained in:
Ashley Gould 2018-07-15 10:31:16 -07:00
commit 6c0c6148f1
6 changed files with 122 additions and 8 deletions

View file

@ -9,9 +9,11 @@ from moto import organizations as orgs
# utils
print(orgs.utils.make_random_org_id())
print(orgs.utils.make_random_root_id())
root_id = orgs.utils.make_random_root_id()
print(root_id)
print(orgs.utils.make_random_ou_id(root_id))
print(orgs.utils.make_random_account_id())
print(orgs.utils.make_random_create_account_id())
print(orgs.utils.make_random_create_account_status_id())
# models
my_org = orgs.models.FakeOrganization(feature_set='ALL')