MCPcopy Create free account
hub / github.com/debpalash/VoiceStudio / test_loopback_always_allowed

Function test_loopback_always_allowed

tests/test_loopback_server_mode.py:62–63  ·  view source on GitHub ↗
(host)

Source from the content-addressed store, hash-verified

60
61@pytest.mark.parametrize("host", ["127.0.0.1", "::1", "localhost"])
62def test_loopback_always_allowed(host):
63 require_loopback(_req(host)) # must not raise
64
65
66def test_non_loopback_rejected_by_default():

Callers

nothing calls this directly

Calls 2

require_loopbackFunction · 0.70
_reqFunction · 0.70

Tested by

no test coverage detected