summaryrefslogtreecommitdiffstats
path: root/azure/aria/aria-extension-cloudify/src/aria/tests/parser/test_tosca_simple_v1_0/test_end2end.py
blob: 474d90e9f108fdb0785b27573430a07b44e93e45 (plain)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements.  See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License.  You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from ..service_templates import (consume_use_case, consume_node_cellar)


# Use Cases

def test_use_case_compute_1():
    consume_use_case('compute-1', 'instance')


def test_use_case_software_component_1():
    consume_use_case('software-component-1', 'instance')


def test_use_case_block_storage_1():
    consume_use_case('block-storage-1', 'instance')


def test_use_case_block_storage_2():
    consume_use_case('block-storage-2', 'instance')


def test_use_case_block_storage_3():
    consume_use_case('block-storage-3', 'instance')


def test_use_case_block_storage_4():
    consume_use_case('block-storage-4', 'instance')


def test_use_case_block_storage_5():
    consume_use_case('block-storage-5', 'instance')


def test_use_case_block_storage_6():
    consume_use_case('block-storage-6', 'instance')


def test_use_case_object_storage_1():
    consume_use_case('object-storage-1', 'instance')


def test_use_case_network_1():
    consume_use_case('network-1', 'instance')


def test_use_case_network_2():
    consume_use_case('network-2', 'instance')


def test_use_case_network_3():
    consume_use_case('network-3', 'instance')


def test_use_case_network_4():
    consume_use_case('network-4', 'instance')


def test_use_case_webserver_dbms_1():
    consume_use_case('webserver-dbms-1', 'template')


def test_use_case_webserver_dbms_2():
    consume_use_case('webserver-dbms-2', 'instance')


def test_use_case_multi_tier_1():
    consume_use_case('multi-tier-1', 'instance')


def test_use_case_container_1():
    consume_use_case('container-1', 'template')


# NodeCellar

def test_node_cellar_validation():
    consume_node_cellar('validate')


def test_node_cellar_validation_no_cache():
    consume_node_cellar('validate', False)


def test_node_cellar_presentation():
    consume_node_cellar('presentation')


def test_node_cellar_model():
    consume_node_cellar('template')


def test_node_cellar_types():
    consume_node_cellar('types')


def test_node_cellar_instance():
    consume_node_cellar('instance')