From 839d957128a4fcb7d6c2b58a4508eb38855e591f Mon Sep 17 00:00:00 2001 From: Eric Lin Date: Tue, 1 May 2018 18:03:37 -0400 Subject: Added support for different argument modes and tests to validate. --- tests/pyscript/bar1.py | 1 + tests/pyscript/foo1.py | 1 + tests/pyscript/foo2.py | 1 + tests/pyscript/foo3.py | 1 + 4 files changed, 4 insertions(+) create mode 100644 tests/pyscript/bar1.py create mode 100644 tests/pyscript/foo1.py create mode 100644 tests/pyscript/foo2.py create mode 100644 tests/pyscript/foo3.py (limited to 'tests/pyscript') diff --git a/tests/pyscript/bar1.py b/tests/pyscript/bar1.py new file mode 100644 index 00000000..c6276a87 --- /dev/null +++ b/tests/pyscript/bar1.py @@ -0,0 +1 @@ +app.bar('11', '22') diff --git a/tests/pyscript/foo1.py b/tests/pyscript/foo1.py new file mode 100644 index 00000000..6e345d95 --- /dev/null +++ b/tests/pyscript/foo1.py @@ -0,0 +1 @@ +app.foo('aaa', 'bbb', counter=3, trueval=True, constval=True) diff --git a/tests/pyscript/foo2.py b/tests/pyscript/foo2.py new file mode 100644 index 00000000..d4df7616 --- /dev/null +++ b/tests/pyscript/foo2.py @@ -0,0 +1 @@ +app.foo('11', '22', '33', '44', counter=3, trueval=True, constval=True) diff --git a/tests/pyscript/foo3.py b/tests/pyscript/foo3.py new file mode 100644 index 00000000..db69edaf --- /dev/null +++ b/tests/pyscript/foo3.py @@ -0,0 +1 @@ +app.foo('11', '22', '33', '44', '55', '66', counter=3, trueval=False, constval=False) -- cgit v1.2.1