2.1. Global functions

2.1.1. Detailed Description

mocha.project.set_license_search_path(path)
Parameters:path (unicode) – New license search path.

Sets the current license directory path. By default it equals to installed mocha license path.

mocha.project.get_license_path()
Return type:unicode

Returns the current license directory path. By default it equals to installed mocha license path.

mocha.project.get_current_project()
Return type:mocha.project.Project

Returns the current open project. Use it only in init.py script to get the current open project.