Skip to content

Commit d9fb292

Browse files
Abel Milashclaude
andcommitted
Fix test_config_alone_works: use valid skill value 'dv-data'
'dv' is not in _ALLOWED_SKILLS (added to config.py on main). The PR build tests the merged result so it picked up the validation. Update to use 'dv-data' which is an allowed value. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 4b0b1d5 commit d9fb292

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/unit/aio/test_async_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ def test_config_and_context_raises(self):
235235

236236
def test_config_alone_works(self):
237237
"""Providing config= without context= uses config's operation_context."""
238-
ctx = OperationContext(user_agent_context="app=test/1.0;skill=dv")
238+
ctx = OperationContext(user_agent_context="app=test/1.0;skill=dv-data")
239239
config = DataverseConfig(operation_context=ctx)
240240
client = AsyncDataverseClient("https://org.crm.dynamics.com", _make_credential(), config=config)
241-
assert client._config.operation_context.user_agent_context == "app=test/1.0;skill=dv"
241+
assert client._config.operation_context.user_agent_context == "app=test/1.0;skill=dv-data"

0 commit comments

Comments
 (0)