weblayer.wsgi.Request

Here are the examples of the python api weblayer.wsgi.Request taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

2 Examples 7

Example 1

Project: weblayer Source File: test_wsgi.py
Function: set_up
    def setUp(self):
        from weblayer import wsgi
        self.__Request = wsgi.Request
        self.__Response = wsgi.Response
        self.settings = Mock()
        self.path_router = Mock()
        self.Request = Mock()
        self.Response = Mock()
        wsgi.Request = self.Request
        wsgi.Response = self.Response

Example 2

Project: weblayer Source File: test_wsgi.py
Function: tear_down
    def tearDown(self):
        from weblayer import wsgi
        wsgi.Request = self.__Request
        wsgi.Response = self.__Response