Initializing help system before first use

AppInterface.test_app_attach_dir

AppInterface.test_app_attach_dir


Purpose
Property for the path to use for the attachments directory of the current app, when in test mode.
Synopsis
test_app_attach_dir: str
Return value
The path to the app attachments directory.
Example
Demonstration of getting the app attachment directory (test mode only).
>>> print(insight.test_app_attach_dir)		
Demonstration of setting the app attachment directory (test mode only).
>>> insight.test_app_attach_dir = 'C:/dev/appattachments'		
Further information
1. When you set a path using this function, it will be used instead of the appattach subdirectory of the directory specified by insight.test_attach_dir property.
2. Setting this propery when insight.test_mode is False will cause the model to abort with a runtime error.
Related topics