mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-19 03:54:19 +00:00
test: add frontend smoke and backend e2e CI (#2251)
This commit is contained in:
@@ -92,11 +92,11 @@ def e2e_client(e2e_port, langbot_process):
|
||||
|
||||
base_url = f'http://127.0.0.1:{e2e_port}'
|
||||
|
||||
with httpx.Client(base_url=base_url, timeout=10.0) as client:
|
||||
with httpx.Client(base_url=base_url, timeout=10.0, trust_env=False) as client:
|
||||
yield client
|
||||
|
||||
|
||||
@pytest.fixture(scope='session')
|
||||
def e2e_db_path(e2e_tmpdir):
|
||||
"""Path to SQLite database file."""
|
||||
return e2e_tmpdir / 'data' / 'langbot.db'
|
||||
return e2e_tmpdir / 'data' / 'langbot.db'
|
||||
|
||||
Reference in New Issue
Block a user