MCPcopy Create free account
hub / github.com/conda/constructor / test_example_extra_pages_win

Function test_example_extra_pages_win

tests/test_examples.py:737–742  ·  view source on GitHub ↗
(tmp_path, request, extra_pages, monkeypatch)

Source from the content-addressed store, hash-verified

735@pytest.mark.parametrize("extra_pages", ("str", "list"))
736@pytest.mark.skipif(sys.platform != "win32", reason="Windows only")
737def test_example_extra_pages_win(tmp_path, request, extra_pages, monkeypatch):
738 if extra_pages == "list":
739 monkeypatch.setenv("POST_INSTALL_PAGES_LIST", "1")
740 input_path = _example_path("exe_extra_pages")
741 for installer, install_dir in create_installer(input_path, tmp_path):
742 _run_installer(input_path, installer, install_dir, request=request)
743
744
745def test_example_extra_envs(tmp_path, request):

Callers

nothing calls this directly

Calls 3

_example_pathFunction · 0.85
create_installerFunction · 0.85
_run_installerFunction · 0.85

Tested by

no test coverage detected