← Về thư mục
tests/test_environments.py
- _isolate_env_discovery · function · L36-L49 — def _isolate_env_discovery(tmp_path, monkeypatch)
- _make_py_env · function · L52-L62 — def _make_py_env(root: Path, name: str, packages=("numpy",)) -> Path
- _make_r_env · function · L65-L71 — def _make_r_env(root: Path, name: str) -> Path
- test_base_env_always_present · function · L77-L84 — def test_base_env_always_present()
- test_default_env_name_is_offered · function · L87-L88 — def test_default_env_name_is_offered()
- test_conda_base_prefix_discovers_its_envs_not_the_base_parent · function · L91-L104 — def test_conda_base_prefix_discovers_its_envs_not_the_base_parent( tmp_path, monkeypatch )
- test_activated_named_conda_prefix_discovers_sibling_envs · function · L107-L117 — def test_activated_named_conda_prefix_discovers_sibling_envs(tmp_path, monkeypatch)
- test_daemon_venv_base_prefix_discovers_conda_envs_without_activation · function · L120-L129 — def test_daemon_venv_base_prefix_discovers_conda_envs_without_activation( tmp_path, monkeypatch )
- test_custom_envs_dirs_prefix_discovers_siblings · function · L132-L143 — def test_custom_envs_dirs_prefix_discovers_siblings(tmp_path, monkeypatch)
- test_base_install_prefix_does_not_offer_its_own_parent · function · L146-L158 — def test_base_install_prefix_does_not_offer_its_own_parent(tmp_path, monkeypatch)
- test_fresh_base_install_without_envs_dir_does_not_scan_its_parent · function · L161-L182 — def test_fresh_base_install_without_envs_dir_does_not_scan_its_parent( tmp_path, monkeypatch )
- test_conda_envs_path_splits_on_pathsep · function · L185-L195 — def test_conda_envs_path_splits_on_pathsep(tmp_path, monkeypatch)
- test_conda_envs_dirs_is_honoured · function · L198-L205 — def test_conda_envs_dirs_is_honoured(tmp_path, monkeypatch)
- test_relative_conda_envs_entries_are_ignored · function · L208-L216 — def test_relative_conda_envs_entries_are_ignored(tmp_path, monkeypatch)
- test_mamba_root_prefix_discovers_envs · function · L219-L226 — def test_mamba_root_prefix_discovers_envs(tmp_path, monkeypatch)
- test_package_scan_is_bounded_to_site_packages · function · L229-L241 — def test_package_scan_is_bounded_to_site_packages(tmp_path)
- test_package_scan_resolves_real_layouts · function · L255-L268 — def test_package_scan_resolves_real_layouts(tmp_path, layout)
- test_discover_fake_python_env · function · L271-L285 — def test_discover_fake_python_env(tmp_path, monkeypatch)
- test_r_only_env_not_runnable · function · L288-L297 — def test_r_only_env_not_runnable(tmp_path, monkeypatch)
- test_hidden_envs_are_dropped · function · L300-L310 — def test_hidden_envs_are_dropped(tmp_path, monkeypatch)
- test_default_env_override · function · L313-L322 — def test_default_env_override(tmp_path, monkeypatch)
- test_dispatcher_env_list_and_use · function · L328-L365 — def test_dispatcher_env_list_and_use(tmp_path, monkeypatch)
- test_env_list_reports_an_r_only_env_runnable_on_the_r_channel · function · L368-L404 — def test_env_list_reports_an_r_only_env_runnable_on_the_r_channel( tmp_path, monkeypatch )
- test_env_use_rescans_after_operator_creates_a_conda_environment · function · L407-L426 — def test_env_use_rescans_after_operator_creates_a_conda_environment( tmp_path, monkeypatch )
- _Hub · class · L432-L441 — class _Hub
- init · method · L433-L434 — def init(self)
- emitter · method · L436-L441 — def emitter(self, rid)
- emit · function · L437-L439 — def emit(ev)
- _runner · function · L444-L450 — def _runner(tmp_path)
- test_gateway_list_environments · function · L453-L463 — def test_gateway_list_environments(tmp_path, monkeypatch)
- test_gateway_set_env_rejects_bad · function · L466-L473 — def test_gateway_set_env_rejects_bad(tmp_path, monkeypatch)
- test_resolve_env_falls_back_to_base · function · L476-L486 — def test_resolve_env_falls_back_to_base(tmp_path, monkeypatch)