Lines Matching refs:pytestconfig
56 def aoo_layout(pytestconfig): argument
58 location = office_location(pytestconfig)
60 … _unavailable(pytestconfig, "set AOO_OFFICE or --office to an installed AOO 5 to run office tests")
64 _unavailable(pytestconfig, "no usable office at %s: %s" % (location, e))
68 def aoo_python(pytestconfig, aoo_layout, tmp_path_factory): argument
70 return install.find_uno_python(aoo_layout, explicit=pytestconfig.getoption("--uno-python"),
73 _unavailable(pytestconfig, "no UNO Python for this install: %s; tried %s" % (e, e.tried))
100 def aoo_offices(pytestconfig, aoo_layout, aoo_python, tmp_path_factory): argument
101 …offices = Offices(aoo_layout, aoo_python, tmp_path_factory.mktemp("aoo"), pytestconfig.getoption("…
102 … pytestconfig.getoption("--max-restarts"), pytestconfig.getoption("--start-timeout"))
112 def odf_runs(pytestconfig, aoo_offices, tmp_path_factory): argument
116 sources = documents.from_config(pytestconfig)
129 def twin_run(pytestconfig, aoo_offices, tmp_path_factory): argument
131 root = pytestconfig.getoption("--twin-corpus") or os.environ.get("AOO_TWIN_CORPUS")
175 def need_mode(request, pytestconfig): argument
182 if pytestconfig.getoption(option):