Skip to content

Commit 14097e7

Browse files
fix: add REVENUEHOLDINGS_SKIP_LIMIT env var to conftest.py to prevent rate limiter from blocking tests
1 parent ae0cfaa commit 14097e7

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

conftest.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
"""pytest configuration — add project src to Python path."""
1+
"""pytest configuration — add project src to Python path and skip rate limits."""
2+
import os
23
import sys
34
from pathlib import Path
45

6+
# Bypass license rate limiting during tests
7+
os.environ.setdefault("REVENUEHOLDINGS_SKIP_LIMIT", "1")
8+
59
# Add user site-packages for dependencies installed outside venv
610
import site
711
user_site = site.getusersitepackages()

0 commit comments

Comments
 (0)