Changed (once again) the evaluation delimiters (<| and |>)
This commit is contained in:
@@ -16,17 +16,17 @@
|
||||
- $(loop_param)
|
||||
|
||||
exit_condition:
|
||||
value: $| $(pfn_Echo function) > 3 |
|
||||
value: <| $(pfn_Echo function) > 3 |>
|
||||
|
||||
- let:
|
||||
name: let
|
||||
key: $(test)_PASS
|
||||
values:
|
||||
- conditional_exec: $| random.randint(1, 2) |
|
||||
- conditional_exec: <| random.randint(1, 2) |>
|
||||
|
||||
- console:
|
||||
name: Console creation
|
||||
condition: $| $(conditional_exec) == 1 |
|
||||
condition: <| $(conditional_exec) == 1 |>
|
||||
console_name: consname
|
||||
doc: Opening the console
|
||||
key: $(test)_PASS
|
||||
@@ -34,18 +34,19 @@
|
||||
- open:
|
||||
protocol: terminal
|
||||
terminal_path: $(test_directory)
|
||||
- writeln: echo "terminal loaded"
|
||||
|
||||
- console:
|
||||
name: Console read_until with timeout
|
||||
condition: $| $(conditional_exec) == 1 |
|
||||
condition: <| $(conditional_exec) == 1 |>
|
||||
console_name: consname
|
||||
key: $(test)_PASS
|
||||
steps:
|
||||
- read_until: {expected: "$(terminal_prompt)", timeout: 10}
|
||||
- read_until: {expected: terminal loaded, timeout: 5}
|
||||
|
||||
- console:
|
||||
name: Console write
|
||||
condition: $| $(conditional_exec) == 1 |
|
||||
condition: <| $(conditional_exec) == 1 |>
|
||||
console_name: consname
|
||||
key: $(test)_PASS
|
||||
steps:
|
||||
@@ -53,12 +54,12 @@
|
||||
|
||||
- sleep:
|
||||
name: sleep item
|
||||
condition: $| $(conditional_exec) == 1 |
|
||||
condition: <| $(conditional_exec) == 1 |>
|
||||
timeout: 1
|
||||
|
||||
- console:
|
||||
name: Console read_until immediate
|
||||
condition: $| $(conditional_exec) == 1 |
|
||||
condition: <| $(conditional_exec) == 1 |>
|
||||
console_name: consname
|
||||
key: $(test)_PASS
|
||||
steps:
|
||||
@@ -66,7 +67,7 @@
|
||||
|
||||
- console:
|
||||
name: Console read_until immediate (2)
|
||||
condition: $| $(conditional_exec) == 1 |
|
||||
condition: <| $(conditional_exec) == 1 |>
|
||||
console_name: consname
|
||||
key: $(test)_PASS
|
||||
steps:
|
||||
@@ -74,7 +75,7 @@
|
||||
|
||||
- console:
|
||||
name: Console closure
|
||||
condition: $| $(conditional_exec) == 1 |
|
||||
condition: <| $(conditional_exec) == 1 |>
|
||||
console_name: consname
|
||||
key: $(test)_PASS
|
||||
steps:
|
||||
@@ -82,5 +83,5 @@
|
||||
|
||||
- sleep:
|
||||
name: sleep item
|
||||
condition: $| $(conditional_exec) == 2 |
|
||||
condition: <| $(conditional_exec) == 2 |>
|
||||
timeout: 1
|
||||
|
||||
@@ -138,7 +138,7 @@
|
||||
|
||||
- py_func:
|
||||
name: Return True expect False but no_fail expansed
|
||||
no_fail: $| bool(0) == False |
|
||||
no_fail: <| bool(0) == False |>
|
||||
key: $(test)_PASS
|
||||
file: $(test_path)$(psep)results$(psep)results.py
|
||||
func_name: echo
|
||||
@@ -147,7 +147,7 @@
|
||||
|
||||
- py_func:
|
||||
name: Return True expect False but no_fail expansed (must fail)
|
||||
no_fail: $| bool(1) == False |
|
||||
no_fail: <| bool(1) == False |>
|
||||
key: $(test)_FAIL
|
||||
file: $(test_path)$(psep)results$(psep)results.py
|
||||
func_name: echo
|
||||
|
||||
Reference in New Issue
Block a user