File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 export AGENTWRIT_BROKER_URL=http://127.0.0.1:8080
1111 export AGENTWRIT_CLIENT_ID=<id>
1212 export AGENTWRIT_CLIENT_SECRET=<secret>
13- uv run pytest tests/integration/test_acceptance_1_8 .py -v -s -m integration
13+ uv run pytest tests/integration/test_acceptance_stories .py -v -s -m integration
1414"""
1515from __future__ import annotations
1616
Original file line number Diff line number Diff line change @@ -12,8 +12,12 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
1212REPO_ROOT=" $( cd " ${SCRIPT_DIR} /../.." && pwd) "
1313
1414export AGENTWRIT_BROKER_URL=" ${AGENTWRIT_BROKER_URL:- http:// 127.0.0.1: 8080} "
15- export AGENTWRIT_CLIENT_ID=" ${AGENTWRIT_CLIENT_ID:- sit-d1eeee10a81e} "
16- export AGENTWRIT_CLIENT_SECRET=" ${AGENTWRIT_CLIENT_SECRET:- 08f1b60f93e6eeb5f7bbe4791981d0c338188d38e117ad70d90797a96a90173a} "
15+
16+ if [[ -z " ${AGENTWRIT_CLIENT_ID:- } " || -z " ${AGENTWRIT_CLIENT_SECRET:- } " ]]; then
17+ echo " Error: AGENTWRIT_CLIENT_ID and AGENTWRIT_CLIENT_SECRET must be set." >&2
18+ echo " Register a test app via the broker admin API, or export them before running this script." >&2
19+ exit 1
20+ fi
1721
1822# Check if broker is running
1923broker_up () {
@@ -78,7 +82,7 @@ mkdir -p "${SCRIPT_DIR}/evidence"
7882# Run acceptance tests with pytest
7983# Session-scoped fixture ensures single app auth (avoids 429 rate limit)
8084cd " ${REPO_ROOT} "
81- uv run pytest tests/integration/test_acceptance_1_8 .py \
85+ uv run pytest tests/integration/test_acceptance_stories .py \
8286 -v \
8387 -s \
8488 -m integration \
You can’t perform that action at this time.
0 commit comments