-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain-test.py
More file actions
25 lines (18 loc) · 828 Bytes
/
Copy pathmain-test.py
File metadata and controls
25 lines (18 loc) · 828 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import pytest
from cdktf import Testing
# The tests below are example tests, you can find more information at
# https://cdk.tf/testing
class TestMain:
def test_my_app(self):
assert True
#stack = TerraformStack(Testing.app(), "stack")
#app_abstraction = MyApplicationsAbstraction(stack, "app-abstraction")
#synthesized = Testing.synth(stack)
#def test_should_contain_container(self):
# assert Testing.to_have_resource(self.synthesized, Container.TF_RESOURCE_TYPE)
#def test_should_use_an_ubuntu_image(self):
# assert Testing.to_have_resource_with_properties(self.synthesized, Image.TF_RESOURCE_TYPE, {
# "name": "ubuntu:latest",
# })
#def test_check_validity(self):
# assert Testing.to_be_valid_terraform(Testing.full_synth(stack))