Project restart
This commit is contained in:
3
test/validation/items/check/check.py
Normal file
3
test/validation/items/check/check.py
Normal file
@@ -0,0 +1,3 @@
|
||||
|
||||
def echo(param):
|
||||
return param
|
||||
1
test/validation/items/check/param.yaml
Normal file
1
test/validation/items/check/param.yaml
Normal file
@@ -0,0 +1 @@
|
||||
no_param: Null
|
||||
28
test/validation/items/check/test.tum
Normal file
28
test/validation/items/check/test.tum
Normal file
@@ -0,0 +1,28 @@
|
||||
|
||||
- py_func:
|
||||
name: Dummy_int
|
||||
file: $(test_path)$(psep)check.py
|
||||
func_name: echo
|
||||
key: $(test)_PASS
|
||||
param:
|
||||
- 2
|
||||
|
||||
- py_func:
|
||||
name: Dummy_str
|
||||
file: $(test_path)$(psep)check.py
|
||||
func_name: echo
|
||||
key: $(test)_PASS
|
||||
param:
|
||||
- my taylor is rich
|
||||
|
||||
- check:
|
||||
name: Check condition on existing variable (PASS)
|
||||
key: $(test)_PASS
|
||||
values:
|
||||
- $(fn_Dummy_int) > 1
|
||||
|
||||
- check:
|
||||
name: Check condition on existing variable (FAIL)
|
||||
key: $(test)_FAIL
|
||||
values:
|
||||
- '"tailor" in "$(fn_Dummy_str)"'
|
||||
Reference in New Issue
Block a user