MCPcopy Create free account
hub / github.com/Tron521/codex-console-temp / make_account

Function make_account

tests/test_new_api_upload.py:18–33  ·  view source on GitHub ↗
(**kwargs)

Source from the content-addressed store, hash-verified

16
17
18def make_account(**kwargs):
19 base = {
20 "id": 1,
21 "email": "tester@example.com",
22 "access_token": "at",
23 "refresh_token": "rt",
24 "session_token": "st",
25 "client_id": "cid",
26 "account_id": "aid",
27 "workspace_id": "wid",
28 "expires_at": None,
29 "subscription_type": None,
30 "extra_data": {},
31 }
32 base.update(kwargs)
33 return SimpleNamespace(**base)
34
35
36def test_resolve_new_api_account_type_returns_codex_from_extra_data():

Calls

no outgoing calls

Tested by

no test coverage detected