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

Method test_missing_auth

tests/common/test_admin.py:93–96  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

91 return events
92
93 def test_missing_auth(self):
94 sio = socketio.Server(async_mode='threading')
95 with pytest.raises(ValueError):
96 sio.instrument()
97
98 @with_instrumented_server(auth=False)
99 def test_admin_connect_with_no_auth(self):

Callers

nothing calls this directly

Calls 1

instrumentMethod · 0.95

Tested by

no test coverage detected