[perf] Add caching and lock protections
All checks were successful
build / test (push) Successful in 1m57s

This commit is contained in:
2026-06-19 13:37:30 -04:00
parent 9f854dc735
commit 033239260f
12 changed files with 349 additions and 95 deletions

View File

@ -4,9 +4,15 @@ from unittest.mock import MagicMock, patch
import pytest
from vrobbler import context_processors
from vrobbler.context_processors import version_info
@pytest.fixture(autouse=True)
def reset_git_cache():
context_processors._GIT_COMMIT = None
@pytest.fixture
def mock_request():
return MagicMock()