PyLucid important component is the plugin system. Many features realised as a plugin. So we need a way for testing the plugin API.
Since changeset:1593 there exist a special test
plugin used in the unittest ./tests/test_plugin_api.py
Note: This plugin should never be installed/activated in a productive environment!
The test plugin stored in "tests/unittest_plugin/". In tests.__init__.init_unittest_plugin() the files of the plugin copy into "./PyLucid/plugins_external/unittest_plugin/" and installed into the database.
After the unittest the routine in tests.__init__.remove_unittest_plugin() would be delete the test plugin from plugins_external directory.
The plugin can be used in every unittest.