Welcome to pytest-enabler documentation!#

pytest_enabler.consume#

Consume an iterable

pytest_enabler.none_as_empty(ob)#
>>> none_as_empty({})
{}
>>> none_as_empty(None)
{}
>>> none_as_empty({'a': 1})
{'a': 1}
pytest_enabler.pytest_load_initial_conftests(early_config, parser, args)#
pytest_enabler.read_plugins(path)#
pytest_enabler.read_plugins_stream(stream)#

Indices and tables#