After compiling the mocker server, the following snippet allow to test the logic:
from AutoscoperConnect import AutoscoperConnectLogic
l = AutoscoperConnectLogic()
l.startAutoscoper("/home/jcfr/Projects/AutoscoperMockServer-build/AutoscoperMockServer")
l.loadTrial("/path/to")
l.setBackground(5.1)
After compiling the mocker server, the following snippet allow to test the logic: