MCPcopy Create free account
hub / github.com/miguelgrinberg/python-socketio / test_missing_auth

Method test_missing_auth

tests/async/test_admin.py:103–106  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

101 return events
102
103 def test_missing_auth(self):
104 sio = socketio.AsyncServer(async_mode='asgi')
105 with pytest.raises(ValueError):
106 sio.instrument()
107
108 @with_instrumented_server(auth=False)
109 def test_admin_connect_with_no_auth(self):

Callers

nothing calls this directly

Calls 1

instrumentMethod · 0.95

Tested by

no test coverage detected