diff --git a/src/testium/interpreter/process.py b/src/testium/interpreter/process.py index cf8ca2f..9107a78 100644 --- a/src/testium/interpreter/process.py +++ b/src/testium/interpreter/process.py @@ -350,6 +350,10 @@ Is the python exec path correct ?""" res = {cmd: self.__cmds[cmd](**args)} elif args is None: res = {cmd: self.__cmds[cmd]()} + else: + raise ETUMRuntimeError("Test process control command malformed") + except ETUMRuntimeError as e: + res = (None, str(e)) except: res = (None, "function unknown or call failed") except: