tomwer.tests.test_scripts.ScriptTest#

class tomwer.tests.test_scripts.ScriptTest#

Class providing useful stuff for preparing script tests.

get_installed_script_path(script)#

Returns the path of the executable and the associated environment

In Windows, it checks availability of script using .py .bat, and .exe file extensions.

get_test_env()#

Returns an associated environment with a working project.

script_path(script_name, module_name)#

Returns the script path according to it’s location