agent-claw: automated task changes
This commit is contained in:
0
cdk/node_modules/aws-cdk/lib/init-templates/sample-app/python/tests/__init__.py
generated
vendored
Normal file
0
cdk/node_modules/aws-cdk/lib/init-templates/sample-app/python/tests/__init__.py
generated
vendored
Normal file
0
cdk/node_modules/aws-cdk/lib/init-templates/sample-app/python/tests/unit/__init__.py
generated
vendored
Normal file
0
cdk/node_modules/aws-cdk/lib/init-templates/sample-app/python/tests/unit/__init__.py
generated
vendored
Normal file
21
cdk/node_modules/aws-cdk/lib/init-templates/sample-app/python/tests/unit/test_%name.PythonModule%_stack.template.py
generated
vendored
Normal file
21
cdk/node_modules/aws-cdk/lib/init-templates/sample-app/python/tests/unit/test_%name.PythonModule%_stack.template.py
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
import aws_cdk as core
|
||||
import aws_cdk.assertions as assertions
|
||||
from %name.PythonModule%.%name.PythonModule%_stack import %name.PascalCased%Stack
|
||||
|
||||
|
||||
def test_sqs_queue_created():
|
||||
app = core.App()
|
||||
stack = %name.PascalCased%Stack(app, "%name.StackName%")
|
||||
template = assertions.Template.from_stack(stack)
|
||||
|
||||
template.has_resource_properties("AWS::SQS::Queue", {
|
||||
"VisibilityTimeout": 300
|
||||
})
|
||||
|
||||
|
||||
def test_sns_topic_created():
|
||||
app = core.App()
|
||||
stack = %name.PascalCased%Stack(app, "%name.StackName%")
|
||||
template = assertions.Template.from_stack(stack)
|
||||
|
||||
template.resource_count_is("AWS::SNS::Topic", 1)
|
||||
Reference in New Issue
Block a user