Merge pull request #387 from jotes/server_cloudformation

Enabled cloudformation in server mode, added some tests
This commit is contained in:
Steve Pulec 2015-08-02 11:34:46 -04:00
commit 84c9dd03d2
3 changed files with 41 additions and 1 deletions

View file

@ -1,6 +1,7 @@
from __future__ import unicode_literals
from moto.autoscaling import autoscaling_backend
from moto.cloudwatch import cloudwatch_backend
from moto.cloudformation import cloudformation_backend
from moto.dynamodb import dynamodb_backend
from moto.dynamodb2 import dynamodb_backend2
from moto.ec2 import ec2_backend
@ -20,6 +21,7 @@ from moto.route53 import route53_backend
BACKENDS = {
'autoscaling': autoscaling_backend,
'cloudformation': cloudformation_backend,
'cloudwatch': cloudwatch_backend,
'dynamodb': dynamodb_backend,
'dynamodb2': dynamodb_backend2,

View file

@ -161,7 +161,7 @@ LIST_STACKS_RESPONSE = """<ListStacksResponse>
<StackSummaries>
{% for stack in stacks %}
<member>
<StackId>{{ stack.id }}</StackId>
<StackId>{{ stack.stack_id }}</StackId>
<StackStatus>{{ stack.status }}</StackStatus>
<StackName>{{ stack.name }}</StackName>
<CreationTime>2011-05-23T15:47:44Z</CreationTime>