Skip to content

Commit fb2459d

Browse files
bokelleyclaude
andauthored
fix: export no-auth test helpers from main module (#30)
The no-auth test helpers (test_agent_no_auth, test_agent_a2a_no_auth, and their config constants) were added in PR #29 and exist in the adcp.testing module, but were not exported from the main adcp module. This meant users had to use: from adcp.testing import test_agent_no_auth Instead of the expected: from adcp import test_agent_no_auth This commit adds the missing exports to match the other test helpers that are already exported. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <noreply@anthropic.com>
1 parent 0faaf32 commit fb2459d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/adcp/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,17 @@
2323
from adcp.testing import (
2424
CREATIVE_AGENT_CONFIG,
2525
TEST_AGENT_A2A_CONFIG,
26+
TEST_AGENT_A2A_NO_AUTH_CONFIG,
2627
TEST_AGENT_MCP_CONFIG,
28+
TEST_AGENT_MCP_NO_AUTH_CONFIG,
2729
TEST_AGENT_TOKEN,
2830
create_test_agent,
2931
creative_agent,
3032
test_agent,
3133
test_agent_a2a,
34+
test_agent_a2a_no_auth,
3235
test_agent_client,
36+
test_agent_no_auth,
3337
)
3438
from adcp.types.core import AgentConfig, Protocol, TaskResult, TaskStatus, WebhookMetadata
3539
from adcp.types.generated import (
@@ -161,12 +165,16 @@
161165
# Test helpers
162166
"test_agent",
163167
"test_agent_a2a",
168+
"test_agent_no_auth",
169+
"test_agent_a2a_no_auth",
164170
"creative_agent",
165171
"test_agent_client",
166172
"create_test_agent",
167173
"TEST_AGENT_TOKEN",
168174
"TEST_AGENT_MCP_CONFIG",
169175
"TEST_AGENT_A2A_CONFIG",
176+
"TEST_AGENT_MCP_NO_AUTH_CONFIG",
177+
"TEST_AGENT_A2A_NO_AUTH_CONFIG",
170178
"CREATIVE_AGENT_CONFIG",
171179
# Exceptions
172180
"ADCPError",

0 commit comments

Comments
 (0)