This module exposes the functionality of the TestInfra library
for use with SaltStack in order to verify the state of your minions.
In order to allow for the addition of new resource types in TestInfra this
module dynamically generates wrappers for the various resources by iterating
over the values in the __all__
variable exposed by the testinfra.modules
namespace.
Converts camelCase (or CamelCase) to snake_case. From https://codereview.stackexchange.com/questions/185966/functions-to-convert-camelcase-strings-to-snake-case
camel_input (str) -- The camelcase or CamelCase string to convert to snake_case
:return str
Converts snake_case to camelCase (or CamelCase if uppercamel is True
).
Inspired by https://codereview.stackexchange.com/questions/85311/transform-snake-case-to-camelcase
:return str
Docs for previous releases are available on readthedocs.org.
Latest Salt release: 3004