MCPcopy
hub / github.com/authlib/authlib / test_create_client

Function test_create_client

tests/clients/test_flask/test_oauth_client.py:101–106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

99
100
101def test_create_client():
102 app = Flask(__name__)
103 oauth = OAuth(app)
104 assert oauth.create_client("dev") is None
105 oauth.register("dev", client_id="dev")
106 assert oauth.create_client("dev") is not None
107
108
109def test_register_oauth1_remote_app():

Callers

nothing calls this directly

Calls 3

create_clientMethod · 0.95
registerMethod · 0.95
OAuthClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…