11 lines
483 B
Python
11 lines
483 B
Python
import pytest
|
|
|
|
|
|
@pytest.fixture(autouse=True)
|
|
def explicit_local_dashboard_auth_mode(monkeypatch):
|
|
"""Keep tests intentional now that deployed authentication fails closed."""
|
|
monkeypatch.setenv("STACKCHAIN_DASHBOARD_AUTH_MODE", "insecure-local")
|
|
monkeypatch.delenv("STACKCHAIN_DASHBOARD_ACCESS_TOKEN", raising=False)
|
|
monkeypatch.delenv("STACKCHAIN_DASHBOARD_SESSION_SECRET", raising=False)
|
|
monkeypatch.setenv("STACKCHAIN_DASHBOARD_PUBLIC_ORIGIN", "https://test")
|