Add (failing) test for ElasticBeanstalk

This commit is contained in:
Niels Laukens 2019-09-03 14:54:46 +02:00
parent 3a5d857a60
commit c95d472bf5
No known key found for this signature in database
GPG Key ID: D1397B5A6435A6D8

15
tests/test_eb/test_eb.py Normal file
View File

@ -0,0 +1,15 @@
import boto3
from moto import mock_eb
@mock_eb
def test_application():
# Create Elastic Beanstalk Application
eb_client = boto3.client('elasticbeanstalk', region_name='us-east-1')
eb_client.create_application(
ApplicationName="myapp",
)
eb_apps = eb_client.describe_applications()
eb_apps['Applications'][0]['ApplicationName'].should.equal("myapp")