organizations: add endpoint list_roots
This commit is contained in:
parent
c40d2be646
commit
6c0c6148f1
6 changed files with 122 additions and 8 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue