Merge pull request #2543 from stephenmuss/orgs-describe-create-account-status
Added describe_create_account_status to organizations
This commit is contained in:
commit
4a282578c0
4 changed files with 42 additions and 2 deletions
|
|
@ -159,6 +159,17 @@ def test_create_account():
|
|||
create_status["AccountName"].should.equal(mockname)
|
||||
|
||||
|
||||
@mock_organizations
|
||||
def test_describe_create_account_status():
|
||||
client = boto3.client("organizations", region_name="us-east-1")
|
||||
client.create_organization(FeatureSet="ALL")["Organization"]
|
||||
request_id = client.create_account(AccountName=mockname, Email=mockemail)[
|
||||
"CreateAccountStatus"
|
||||
]["Id"]
|
||||
response = client.describe_create_account_status(CreateAccountRequestId=request_id)
|
||||
validate_create_account_status(response["CreateAccountStatus"])
|
||||
|
||||
|
||||
@mock_organizations
|
||||
def test_describe_account():
|
||||
client = boto3.client("organizations", region_name="us-east-1")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue