summaryrefslogtreecommitdiff
path: root/tests/pyscript/foo4.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pyscript/foo4.py')
-rw-r--r--tests/pyscript/foo4.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/pyscript/foo4.py b/tests/pyscript/foo4.py
new file mode 100644
index 00000000..88fd3ce8
--- /dev/null
+++ b/tests/pyscript/foo4.py
@@ -0,0 +1,8 @@
+result = app.foo('aaa', 'bbb', counter=3)
+out_text = 'Fail'
+if result:
+ data = result.data
+ if 'aaa' in data.variable and 'bbb' in data.variable and data.counter == 3:
+ out_text = 'Success'
+
+print(out_text)