fix(api): cache the health update check and fix a remote-session test fixture

This commit is contained in:
imSp4rky
2026-10-27 13:38:57 -06:00
parent 756c2ce2b5
commit 9f86464826
5 changed files with 5 additions and 31 deletions
+1 -4
View File
@@ -37,10 +37,7 @@ def loopback_only(request: pytest.FixtureRequest, monkeypatch: pytest.MonkeyPatc
def no_update_check(monkeypatch: pytest.MonkeyPatch) -> None:
"""Keep the release lookup of the health route off the network."""
async def no_release(*args: Any, **kwargs: Any) -> None:
return None
monkeypatch.setattr(UpdateChecker, "check_for_updates", no_release)
monkeypatch.setattr(UpdateChecker, "check_for_updates_sync", lambda *args, **kwargs: None)
@pytest.fixture(autouse=True)