(**kwargs)
| 16 | |
| 17 | |
| 18 | def 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 | |
| 36 | def test_resolve_new_api_account_type_returns_codex_from_extra_data(): |
no outgoing calls
no test coverage detected