19 lines
466 B
Python
19 lines
466 B
Python
from __future__ import unicode_literals
|
|
import sure # noqa
|
|
|
|
import moto.server as server
|
|
|
|
'''
|
|
Test the different server responses
|
|
'''
|
|
|
|
|
|
def test_describe_autoscaling_groups():
|
|
backend = server.create_backend_app("autoscaling")
|
|
test_client = backend.test_client()
|
|
|
|
res = test_client.get('/?Action=DescribeLaunchConfigurations')
|
|
|
|
res.data.should.contain(b'<DescribeLaunchConfigurationsResponse')
|
|
res.data.should.contain(b'<LaunchConfigurations>')
|