upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2025-11-28 04:57:20 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2025-11-28 04:57:20 +0000
commitc45a425606776e937f4429402030aed8f2ab7436 (patch)
tree5693fa14df57734d8bc910659fc6ce17876eb7e4 /src
parentc283c38add8d2b0e8359d8b03c064a188a43d6e0 (diff)
fix: respect Isolated mode in TestContext fixture helpers
Previously get_or_create_repo() and get_or_create_issue() always checked the client cache first, bypassing the mode-based caching logic. This caused fixture leaking across test suites when using the same AuditClient. With this fix: - In Isolated mode: helpers skip the cache, creating fresh fixtures - In Shared mode: helpers use the cache for fixture reuse (unchanged) This restores proper test isolation for push authorization tests that were failing because they shared the same ValidRepo fixture.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions