Skip to content

Commit 158b02a

Browse files
committed
Add test inventory which uses reference default value and Python test
1 parent 9fcbb4c commit 158b02a

20 files changed

Lines changed: 249 additions & 0 deletions

File tree

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
parameters:
2+
_lookup_table:
3+
foo:
4+
- type: a list
5+
- type: of items
6+
bar:
7+
- type: another
8+
- type: list
9+
- type: of
10+
- type: items
11+
- type: with
12+
a_ref: ${_base_directory}/foo
13+
table: ${_lookup_table:${variant::foo}}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
parameters:
2+
class1:
3+
foo: ${class1:bar::default}
4+
foo2: ${class1:foo}
5+
qux: \${foo}
6+
qux2: ${foo::\${foo\}}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
parameters:
2+
class2:
3+
foo: ${bar::default}
4+
bar:
5+
baz:
6+
foo: foo
7+
qux:
8+
foo: foo
9+
bar: bar
10+
qux:
11+
foo: class2foo
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
parameters:
2+
foo: foo
3+
bar: bar
4+
baz: baz
5+
qux:
6+
foo: qux.foo
7+
bar: qux.bar
8+
baz: qux.baz
9+
data:
10+
a: a
11+
b: a
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
parameters:
2+
data:
3+
b: b
4+
foobar:
5+
foo: ${foobar:foo::${foo}}
6+
bar: ${foobar:bar::${bar}}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
parameters:
2+
data:
3+
c: c
4+
foobar: ${foobar::${qux}}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
classes:
2+
- options.${config:option::default}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
parameters:
2+
data: a
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
parameters:
2+
data: b
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
parameters:
2+
data: default

0 commit comments

Comments
 (0)