Skip to content

Commit 94eb397

Browse files
fix: update tests
1 parent 8ae2360 commit 94eb397

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/agent/guardrails/test_guardrails_factory.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def test_deterministic_guardrail_with_llm_scope_raises_value_error(self) -> None
169169
"enabledForEvals": True,
170170
"selector": {
171171
"$selectorType": "scoped",
172-
"scopes": ["llm"], # LLM scope - should be rejected
172+
"scopes": ["Llm"], # LLM scope - should be rejected
173173
"matchNames": None,
174174
},
175175
"rules": [
@@ -204,7 +204,7 @@ def test_deterministic_guardrail_with_agent_scope_raises_value_error(self) -> No
204204
"enabledForEvals": True,
205205
"selector": {
206206
"$selectorType": "scoped",
207-
"scopes": ["agent"], # AGENT scope - should be rejected
207+
"scopes": ["Agent"], # AGENT scope - should be rejected
208208
"matchNames": None,
209209
},
210210
"rules": [
@@ -239,7 +239,7 @@ def test_deterministic_guardrail_with_tool_scope_succeeds(self) -> None:
239239
"enabledForEvals": True,
240240
"selector": {
241241
"$selectorType": "scoped",
242-
"scopes": ["tool"], # TOOL scope - should be accepted
242+
"scopes": ["Tool"], # TOOL scope - should be accepted
243243
"matchNames": ["my_tool"],
244244
},
245245
"rules": [
@@ -276,7 +276,7 @@ def test_deterministic_guardrail_with_mixed_scopes_raises_value_error(self) -> N
276276
"enabledForEvals": True,
277277
"selector": {
278278
"$selectorType": "scoped",
279-
"scopes": ["tool", "llm"], # Mixed scopes - should be rejected
279+
"scopes": ["Tool", "Llm"], # Mixed scopes - should be rejected
280280
"matchNames": ["my_tool"],
281281
},
282282
"rules": [

0 commit comments

Comments
 (0)