← Về thư mục
tests/test_compute_nvidia.py
- _load_provider_module · function · L34-L45 — def _load_provider_module()
- _FakeCompleted · class · L48-L52 — class _FakeCompleted
- init · method · L49-L52 — def init(self, returncode=0, stdout=b"", stderr=b"")
- provider · function · L56-L74 — def provider(monkeypatch)
- fake_run · function · L63-L69 — def fake_run(argv, **kw)
- test_nvidia_provider_is_discoverable · function · L80-L86 — def test_nvidia_provider_is_discoverable()
- test_create_self_hosted_builds_gpu_run · function · L92-L106 — def test_create_self_hosted_builds_gpu_run(provider)
- test_create_hosted_builds_keepalive_no_gpu · function · L109-L117 — def test_create_hosted_builds_keepalive_no_gpu(provider)
- test_create_rejects_bad_mode · function · L120-L124 — def test_create_rejects_bad_mode(provider)
- test_self_hosted_requires_image · function · L127-L131 — def test_self_hosted_requires_image(provider)
- test_exec_injects_hosted_endpoint_and_key · function · L137-L162 — def test_exec_injects_hosted_endpoint_and_key(provider, monkeypatch)
- _FakeProc · class · L144-L150 — class _FakeProc
- wait · method · L149-L150 — def wait(self)
- fake_popen · function · L152-L154 — def fake_popen(argv, **kw)
- test_exec_self_hosted_uses_localhost · function · L165-L187 — def test_exec_self_hosted_uses_localhost(provider, monkeypatch)
- _FakeProc · class · L169-L175 — class _FakeProc
- wait · method · L174-L175 — def wait(self)
- test_error_output_mapping · function · L206-L209 — def test_error_output_mapping(provider, stderr, kind)
- test_token_scrub_redacts_keys · function · L215-L221 — def test_token_scrub_redacts_keys(provider)
- test_terminate_idempotent_on_missing · function · L227-L233 — def test_terminate_idempotent_on_missing(provider)
- test_read_owner_returns_none_when_missing · function · L236-L239 — def test_read_owner_returns_none_when_missing(provider)
- test_provider_import_cannot_see_inherited_secrets · function · L277-L336 — def test_provider_import_cannot_see_inherited_secrets(mode, tmp_path)
- test_prologue_scrubs_provider_declared_prefixes · function · L384-L431 — def test_prologue_scrubs_provider_declared_prefixes(tmp_path)
- test_scrub_preserves_operational_env · function · L437-L473 — def test_scrub_preserves_operational_env()