Home
last modified time | relevance | path

Searched refs:metafunc (Results 1 – 2 of 2) sorted by relevance

/trunk/test/aoo-test/tests/odf/
H A Dtest_twins.py39 def pytest_generate_tests(metafunc): argument
40 root = _root(metafunc.config)
43 if "name" in metafunc.fixturenames:
44 if "pair" in metafunc.fixturenames:
47 metafunc.parametrize("pair,name", params, ids=ids)
48 elif "mode" in metafunc.fixturenames:
50 metafunc.parametrize("mode,name", params, ids=["%s|%s" % x for x in params])
H A Dconftest.py28 def pytest_generate_tests(metafunc): argument
31 if "source" in metafunc.fixturenames:
32 found = documents.from_config(metafunc.config) or [PLACEHOLDER]
33 metafunc.parametrize("source", found, ids=[s.id for s in found])