def test_uses_wraps(self):
        @self.actions("ctx_name", [])
        def myview(request, some_id):
            """docstring"""

        self.assertEqual(myview.func_name, "myview")
        self.assertEqual(myview.func_doc, "docstring")
Preserves docstring and name of original view func.
dataset/ETHPy150Open mozilla/moztrap/tests/view/lists/test_actions.py/ActionsTest.test_uses_wraps