Skip to main content

test_init

Function test_init 

Source
pub fn test_init(plugin_id: &str) -> PluginInit
Expand description

Default init for tests: unique, writable temporary directories, and no language, so the plugin’s texts are in English (see the module documentation on tests that switch languages). Its plugin_root holds no plugin.toml and no catalogs.