Flask SocketIO send message from server to room
I think that you need to supply a namespace parameter to your emit in the API call, since you have defined a namespace.
socketio.emit('my response', {'data': json.dumps(my_info, ensure_ascii=False)}, room=room, namespace='/test')
If you don't supply the namespace you will use the default one.