def test_arguments_are_stored(self):
        args = ("foo", "bar")
        kwargs = {'arg': "value"}
        self.mw.process_view(self.request, MOCK_VIEW, args, kwargs)
        ok_("wsgiorg.routing_args" in self.request.environ)
        eq_(len(self.request.environ['wsgiorg.routing_args']), 2)
        eq_(self.request.environ['wsgiorg.routing_args'][0], args)
        eq_(self.request.environ['wsgiorg.routing_args'][1], kwargs)
The positional and named arguments should be stored in the environ
dataset/ETHPy150Open 2degrees/django-wsgi/tests/test_middleware.py/TestRoutingArgs.test_arguments_are_stored