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

Method test_valid_input_passes

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

Source from the content-addressed store, hash-verified

65 self.guard = InputGuard(max_input_chars=100)
66
67 def test_valid_input_passes(self):
68 result = self.guard.validate("How does tokenization work?")
69 assert result.passed is True
70 assert result.failure_mode == FailureMode.NONE
71
72 def test_empty_input_blocked(self):
73 result = self.guard.validate("")

Callers

nothing calls this directly

Calls 1

validateMethod · 0.45

Tested by

no test coverage detected