Skip to content

Commit 358b61d

Browse files
committed
fix the version issue for ci and remove default url and provided an example file
1 parent 9fe8249 commit 358b61d

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

.env.example

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# ----------------------------------
2+
# Integration Test Config
3+
# ----------------------------------
4+
5+
# Base URL
6+
MINDS_API_BASE_URL=<oyur base url>
7+
8+
# URL for the OpenAPI specification.
9+
MINDS_OPENAPI_SPEC_URL=<oyur base url>/openapi.json
10+
11+
# Authentication token, required
12+
MINDS_API_TOKEN=your_token

tests/integration/config.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,11 @@
1717
load_dotenv()
1818

1919
# --- API and Schema Configuration ---
20-
MINDS_API_BASE_URL = os.getenv(
21-
"MINDS_API_BASE_URL", "https://minds-terabase.dev.mdb.ai"
22-
) #
20+
MINDS_API_BASE_URL = os.getenv("MINDS_API_BASE_URL") #
2321
MINDS_OPENAPI_SPEC_URL = os.getenv(
2422
"MINDS_OPENAPI_SPEC_URL", f"{MINDS_API_BASE_URL.strip('/')}/openapi.json"
2523
)
26-
AUTH_TOKEN = os.getenv("MINDS_API_TOKEN", "remove me when auth is implemented")
24+
AUTH_TOKEN = os.getenv("MINDS_API_TOKEN")
2725

2826
# --- DATASOURCE CONFIGURATIONS ---
2927
DATASOURCE_CONFIGS = []

0 commit comments

Comments
 (0)