Mehrdad Pedramfar
Mehrdad Pedramfar
According to the discussion with Vahid and the rest of the back-end team, it is been decided to go through this task with this sequential parts: 1. `Test`: Write bunch...
This http-server in `restfulpy.testing.mockup.http.py` is going to be so useful: ```python @contextlib.contextmanager def http_server(app=None, handler_class=WSGIRequestHandler, server_class=WSGIServer, bind=('', 0)): server = server_class(bind, handler_class) if app: assert isinstance(server, WSGIServer) server.set_app(app) thread =...
But there is a few things that should be mentioned here: - we need to bind our mockup-server to given port(not random), it means that if user didn't set a...