mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Add more steps
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
import os
|
||||
|
||||
import httpx
|
||||
from behave.runner import Context
|
||||
|
||||
BASE_URL = os.environ.get("INFISICAL_API_URL", "http://localhost:8080")
|
||||
AUTH_TOKEN = os.environ.get("INFISICAL_TOKEN")
|
||||
|
||||
|
||||
def before_all(context: Context):
|
||||
context.vars = {}
|
||||
context.http_client = httpx.Client(
|
||||
base_url=BASE_URL, headers={"Authorization": f"Bearer {AUTH_TOKEN}"}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user