Skip to content

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

fix: update test assertion for direct kwargs passing

abire4bcb6b95bce
diff --git a/python/tests/test_connected_accounts.py b/python/tests/test_connected_accounts.py
index e8ce4adfe..7e117518a 100644
--- a/python/tests/test_connected_accounts.py
+++ b/python/tests/test_connected_accounts.py
@@ -343,7 +343,7 @@ class TestConnectedAccounts:
call_kwargs = mock_client.link.create.call_args.kwargs
assert call_kwargs["auth_config_id"] == "auth-1"
assert call_kwargs["user_id"] == "user-1"
- assert "callback_url" not in call_kwargs
+ assert call_kwargs.get("callback_url") is None
def test_initiate_with_oauth2_tokens_returns_active_connection_request(
self, connected_accounts, mock_client