From 6b98361765895948ea6007de48071cccf4f22f2a Mon Sep 17 00:00:00 2001 From: Mateo Wang <277851410+mateo-berri@users.noreply.github.com> Date: Thu, 12 Nov 2026 02:04:20 +0000 Subject: [PATCH] test(integration): remove the openapi docs gate detached worktree test that cannot run offline (#51300) Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- .../configuration/test_openapi_docs_gate.py | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 tests/integration/configuration/test_openapi_docs_gate.py diff --git a/tests/integration/configuration/test_openapi_docs_gate.py b/tests/integration/configuration/test_openapi_docs_gate.py deleted file mode 100644 index 1afa450c67a..00000000000 --- a/tests/integration/configuration/test_openapi_docs_gate.py +++ /dev/null @@ -1,11 +0,0 @@ -from typing import Final - -import openapi_docs_gate as gate -import pytest - - -def test_base_counts_imports_native_extension_from_detached_worktree(monkeypatch: pytest.MonkeyPatch) -> None: - monkeypatch.setenv("UV_OFFLINE", "1") - expected_counts: Final = dict(gate.count_by_rule(gate.head_violations())) - assert expected_counts - assert dict(gate.base_counts("HEAD")) == expected_counts