fix: make dotnet run
This commit is contained in:
@@ -16,6 +16,14 @@ def test_enables_codegraph_in_shared_codex_config() -> None:
|
||||
assert codegraph["env"]["CODEGRAPH_TELEMETRY"] == "0"
|
||||
|
||||
|
||||
def test_compose_allows_nested_codex_procfs() -> None:
|
||||
root = Path(__file__).parents[1]
|
||||
|
||||
compose = (root / "compose.yaml").read_text()
|
||||
|
||||
assert "systempaths=unconfined" in compose
|
||||
|
||||
|
||||
def test_extracts_thread_id_from_jsonl() -> None:
|
||||
output = '\n'.join(
|
||||
[
|
||||
|
||||
@@ -7,4 +7,6 @@ def test_dotnet_wrapper_uses_sandbox_writable_runtime_directories() -> None:
|
||||
|
||||
assert 'DOTNET_CLI_HOME="${DOTNET_CLI_HOME:-/tmp/agentci-dotnet}"' in script
|
||||
assert 'NUGET_PACKAGES="${NUGET_PACKAGES:-/tmp/agentci-nuget/packages}"' in script
|
||||
assert 'mkdir -p "$DOTNET_CLI_HOME" "$NUGET_PACKAGES"' in script
|
||||
http_cache = 'NUGET_HTTP_CACHE_PATH="${NUGET_HTTP_CACHE_PATH:-/tmp/agentci-nuget/http-cache}"'
|
||||
assert http_cache in script
|
||||
assert 'export HOME="$DOTNET_CLI_HOME"' in script
|
||||
|
||||
Reference in New Issue
Block a user