cfme.utils.pytest_shortcuts module

cfme.utils.pytest_shortcuts.extract_fixtures_values(item)[source]

Extracts names and values of all the fixtures that the test has.

Parameters:item – py.test test item
Returns:dict with fixtures and their values.
cfme.utils.pytest_shortcuts.fixture_filter(metafunc, argnames, argvalues)[source]

Filter fixtures based on fixturenames in the function represented by metafunc

cfme.utils.pytest_shortcuts.trim_items(iterable, keep_index)[source]