@@ -118,13 +118,17 @@ def test_context_update_recursion(self):
118
118
'section1-key4' : [0 , 1 , 2 , 3 ],
119
119
'section1-key5' : "{{ env='CUSTOM_ENV' }}" ,
120
120
'section1-key6' : "{{ file='tests/fixtures/include.yaml' }}" ,
121
+ 'section1-key7' : "{{ env='CUSTOM_ENV'}} = {{ env='CUSTOM_ENV' }}" ,
122
+ 'section1-key8' : "{{ env='NULL_VAR' }}-{{ env='CUSTOM_ENV' }}"
121
123
}
122
124
},
123
125
'section2' : [
124
126
{},
125
127
'var2' ,
126
128
'var3' ,
127
- '{{ env=\' CUSTOM_ENV\' }}'
129
+ '{{ env=\' CUSTOM_ENV\' }}' ,
130
+ '{{ env=\' CUSTOM_ENV\' }} = {{ env=\' CUSTOM_ENV\' }}' ,
131
+ '{{ env=\' NULL_VAR\' }}-{{ env=\' CUSTOM_ENV\' }}'
128
132
],
129
133
'section3' : [0 , 1 , 2 , 3 , 4 ]
130
134
}
@@ -137,13 +141,17 @@ def test_context_update_recursion(self):
137
141
'section1-key4' : [0 , 1 , 2 , 3 ],
138
142
'section1-key5' : 'My value' ,
139
143
'section1-key6' : {'ha_ha' : 'included_var' },
144
+ 'section1-key7' : 'My value = My value' ,
145
+ 'section1-key8' : "-My value"
140
146
}
141
147
},
142
148
'section2' : [
143
149
{},
144
150
'var2' ,
145
151
'var3' ,
146
- 'My value'
152
+ 'My value' ,
153
+ 'My value = My value' ,
154
+ '-My value'
147
155
],
148
156
'section3' : [0 , 1 , 2 , 3 , 4 ]
149
157
}
0 commit comments