MCPcopy Create free account
hub / github.com/Emmimal/control-layer / test_empty_input_blocked

Method test_empty_input_blocked

tests/test_control_layer.py:72–75  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

70 assert result.failure_mode == FailureMode.NONE
71
72 def test_empty_input_blocked(self):
73 result = self.guard.validate("")
74 assert result.passed is False
75 assert result.failure_mode == FailureMode.CONSTRAINT_VIOLATION
76
77 def test_whitespace_only_blocked(self):
78 result = self.guard.validate(" \n\t ")

Callers

nothing calls this directly

Calls 1

validateMethod · 0.45

Tested by

no test coverage detected