

def test_fall_through(self):
    'If fall_through is set, POST falls through untouched if no action.'
    dec = self.actions(self.mock_model, ['doit'], fall_through=True)
    req = self.req('post', '/the/url', data={
        'other': 'thing',
    })
    res = self.view(dec, decorator=dec)
    self.assertEqual(self.mock_model._base_manager.get.call_count, 0)
    self.assertEqual(res.status_code, 200)
    self.assertEqual(res.request.method, 'POST')
    self.assertEqual(res.request.POST['other'], 'thing')

dataset/ETHPy150Open mozilla/moztrap/tests/view/lists/test_actions.py ActionsTest.test_fall_through/VarMisuse@59/109 `req`->`dec`