Skip to content

Commit ccd9fb7

Browse files
README fixes
1 parent 9d6e688 commit ccd9fb7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,23 +31,23 @@ However, if you wish to run these end to end integration tests locally, you can
3131
pip install -r requirements.txt
3232
```
3333

34-
## 2 · Run local transports only
34+
## Run E2E Integration Tests
3535
Next, deploy your app. This is required for all E2E tests to run (some tests will be skipped if an app is not deployed & `MCP_SERVER_URL` is not set).
3636
```bash
3737
git push heroku <your-branch>:main
3838
```
3939

40-
## 2 · Run local & one-off-dyno (STDIO) deployed transports
40+
## 1 · Run local & one-off-dyno (STDIO) deployed transports
4141
```bash
42-
pytest tests -q
42+
REMOTE_SERVER_TRANSPORT_MODULE=$(heroku config:get REMOTE_SERVER_TRANSPORT_MODULE) pytest tests -q
4343
```
4444

45-
## 3 - Run local & all deployed transports
45+
## 2 - Run local & all deployed transports
4646
```bash
47-
REMOTE_SERVER_TYPE=$(heroku config:get REMOTE_SERVER_TYPE) \
47+
REMOTE_SERVER_TRANSPORT_MODULE=$(heroku config:get REMOTE_SERVER_TRANSPORT_MODULE) \
4848
MCP_SERVER_URL=$(heroku info -s -a "$APP_NAME" | grep web_url | cut -d= -f2 | tr -d '\n') \
4949
API_KEY=$(heroku config:get API_KEY -a "$APP_NAME") \
5050
pytest tests -q
5151
```
5252

53-
*NOTE: if your `REMOTE_SERVER_TYPE` is set to `sse_server` and not the default `streamable_http_server`, you'll need to change the `REMOTE_SERVER_TRANSPORT_MODULE` declaration line in `.github/workflows/test.yml` to make sure that the end to end integration tests against the temporary deployed remote server are using the appropriate client code.*
53+
*NOTE: if your `REMOTE_SERVER_TRANSPORT_MODULE` is set to `sse_server` and not the default `streamable_http_server`, you'll need to change the `REMOTE_SERVER_TRANSPORT_MODULE` declaration line in `.github/workflows/test.yml` to make sure that the end to end integration tests against the temporary deployed remote server are using the appropriate client code.*

0 commit comments

Comments
 (0)