def test_passes_on_args(self):
        record = []

        @self.sort("ctx_name")
        def myview(request, *args, **kwargs):
            record.extend([args, kwargs])

        myview(RequestFactory().get("/"), "a", b=2)

        self.assertEqual(record, [("a",), {"b": 2}])
Arguments are passed on to original view func.
dataset/ETHPy150Open mozilla/moztrap/tests/view/lists/test_sort.py/SortDecoratorTest.test_passes_on_args