Debian Codegraph @

tests/functional/services/transfer/v2/test_get_stream_access_point.py

raw
1 from globus_sdk.testing import get_last_request, load_response
2
3
4 def test_get_stream_access_point(client):
5 meta = load_response(client.get_stream_access_point).metadata
6
7 res = client.get_stream_access_point(meta["access_point_id"])
8 assert res.http_status == 200
9 assert res["data"]["type"] == "StreamAccessPoint"
10 assert res["data"]["id"] == meta["access_point_id"]
11
12 req = get_last_request()
13 assert req.body is None