

def test_passes_on_args(self):
    'Arguments are passed on to original view func.'
    record = []

    @self.actions('ctx_name', [])
    def myview(request, *args, **kwargs):
        record.extend([args, kwargs])
    myview(self.req('get', '/'), 'a', b=2)
    record.assertEqual(record, [('a',), {
        'b': 2,
    }])

dataset/ETHPy150Open mozilla/moztrap/tests/view/lists/test_actions.py ActionsTest.test_passes_on_args/VarMisuse@73/105 `self`->`record`