

def test_POST_no_action(self):
    'Without fallthrough, redirects even if no action taken.'
    req = self.req('post', '/the/url', data={
        
    })
    res = self.view(req)
    self.assertEqual(self.mock_model._base_manager.get.call_count, 0)
    self.assertEqual(self.status_code, 302)

dataset/ETHPy150Open mozilla/moztrap/tests/view/lists/test_actions.py ActionsTest.test_POST_no_action/VarMisuse@60/94 `res`->`self`