Skip to content

Commit

Permalink
TST #532 longer delay
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed Jan 11, 2022
1 parent 4e3ed04 commit 2d3984f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Binary file modified .coverage
Binary file not shown.
8 changes: 7 additions & 1 deletion apstools/synApps/tests/test_luascript.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@

IOC = "gp:"
PV_PREFIX = f"{IOC}set1:"
EMPIRICAL_DELAY = 0.1
EMPIRICAL_DELAY = 0.5

# TODO: test a luascript file, where to put the file in the IOC?
# LUA_SCRIPT_PATH
# https://epics-lua.readthedocs.io/en/latest/luascriptRecord.html?highlight=file#examples
# https://epics-lua.readthedocs.io/en/latest/using-lua-shell.html?highlight=file#calling-the-lua-shell-from-inside-the-ioc-shell


def test_read():
Expand Down Expand Up @@ -72,6 +77,7 @@ def test_luascript_reset():
@pytest.mark.parametrize(
"code, a, b, nval, aa, bb, sval",
[
['return "A"', 0, 0, 0, "", "", "A"],
["return A+B", 5, -3, 2, "", "", ""],
["return A+B --this is a comment", 5, -3, 2, "", "", ""],
['return string.rep(".", 5)', 0, 0, 0, "", "", "....."],
Expand Down

0 comments on commit 2d3984f

Please sign in to comment.