Add (failing) test for ElasticBeanstalk
This commit is contained in:
parent
3a5d857a60
commit
c95d472bf5
15
tests/test_eb/test_eb.py
Normal file
15
tests/test_eb/test_eb.py
Normal 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")
|
Loading…
Reference in New Issue
Block a user