Skip to content

Commit

Permalink
Add local_api_url env for aiding in local dev.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvanrun committed Jan 16, 2025
1 parent 7fb5082 commit 0e101e8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ def anyio_backend():

@pytest.fixture(scope="session")
def local_grand_challenge() -> Generator[str, None, None]:
local_api_url = "https://gc.localhost/api/v1/"
local_api_url = os.environ.get(
"LOCAL_API_URL",
"https://gc.localhost/api/v1/",
)

try:
r = httpx.get(
Expand Down

0 comments on commit 0e101e8

Please sign in to comment.