Fix: elasticbeanstalk ApplicationArn does not contain ApplicationName (#3511)

Fixes #3510
This commit is contained in:
Brian Pandola 2020-12-04 02:31:28 -08:00 committed by GitHub
commit 5e21e50424
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -11,6 +11,7 @@ def test_create_application():
conn = boto3.client("elasticbeanstalk", region_name="us-east-1")
app = conn.create_application(ApplicationName="myapp",)
app["Application"]["ApplicationName"].should.equal("myapp")
app["Application"]["ApplicationArn"].should.contain("myapp")
@mock_elasticbeanstalk
@ -31,6 +32,7 @@ def test_describe_applications():
apps = conn.describe_applications()
len(apps["Applications"]).should.equal(1)
apps["Applications"][0]["ApplicationName"].should.equal("myapp")
apps["Applications"][0]["ApplicationArn"].should.contain("myapp")
@mock_elasticbeanstalk