File: test_get_clients.py

package info (click to toggle)
python-globus-sdk 4.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,144 kB
  • sloc: python: 35,242; sh: 37; makefile: 35
file content (8 lines) | stat: -rw-r--r-- 269 bytes parent folder | download
1
2
3
4
5
6
7
8
from globus_sdk.testing import load_response


def test_get_clients(service_client):
    meta = load_response(service_client.get_clients).metadata
    res = service_client.get_clients()

    assert {client["id"] for client in res["clients"]} == set(meta["client_ids"])