We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bef256c commit 493eadcCopy full SHA for 493eadc
1 file changed
tests/unit/test_operation_context.py
@@ -38,7 +38,8 @@ def setUp(self):
38
39
def test_kwarg_sets_config(self):
40
client = DataverseClient(
41
- self.base_url, self.mock_credential,
+ self.base_url,
42
+ self.mock_credential,
43
operation_context="app=test/1.0;skill=dv-data;agent=claude-code",
44
)
45
self.assertEqual(client._config.operation_context, "app=test/1.0;skill=dv-data;agent=claude-code")
@@ -51,7 +52,8 @@ def test_config_and_kwarg_raises(self):
51
52
config = DataverseConfig(operation_context="app=test/1.0")
53
with self.assertRaises(ValueError):
54
DataverseClient(
55
56
57
config=config,
58
operation_context="app=other/2.0",
59
0 commit comments