Daemon & CLI Factories#

Salt Daemon Factories PyTest Plugin.

saltfactories.plugins.factories.salt_factories_config()[source]#

Default salt factories configuration fixture.

saltfactories.plugins.factories.salt_factories_default_root_dir()[source]#

The root directory from where to base all paths.

For example, in a salt system installation, this would be /.

Attention

If root_dir is returned on the salt_factories_config() fixture dictionary, then that’s the value used, and not the one returned by this fixture.

saltfactories.plugins.factories.salt_factories(event_listener, stats_processes, salt_factories_default_root_dir, salt_factories_config, _salt_factories_config)[source]#

Instantiate the salt factories manager.

saltfactories.plugins.factories.pytest_addoption(parser)[source]#

Register argparse-style options and ini-style config values.