beremiz

run application tests in full screen mode

2017-09-16, Andrey Skvortsov
925ea35edc2c
run application tests in full screen mode
from pyjs.jsonrpc import JSONRPCServiceBase
class JSONRPCService(JSONRPCServiceBase):
def serve(self):
return self.process(request.body.read())
def __call__(self, func):
self.methods[func.__name__] = func
return func