Tradhox_domain_settings/tests/unit/test_tradhoxdomain_stack.py

15 lines
523 B
Python

import aws_cdk as core
import aws_cdk.assertions as assertions
from tradhoxdomain.tradhoxdomain_stack import TradhoxdomainStack
# example tests. To run these tests, uncomment this file along with the example
# resource in tradhoxdomain/tradhoxdomain_stack.py
def test_sqs_queue_created():
app = core.App()
stack = TradhoxdomainStack(app, "tradhoxdomain")
template = assertions.Template.from_stack(stack)
# template.has_resource_properties("AWS::SQS::Queue", {
# "VisibilityTimeout": 300
# })