

def test_ajax_fall_through_method(self):
    'Post-action, ajax req continues with method GET and no POST data.'
    req = self.req('post', '/the/url?filter=value', data={
        'action-doit': '3',
    }, HTTP_X_REQUESTED_WITH='XMLHttpRequest')
    res = self.view(req)
    self.assertEqual(res.request.method, 'GET')
    self.assertEqual(res.request.POST, {
        
    })

dataset/ETHPy150Open mozilla/moztrap/tests/view/lists/test_actions.py ActionsTest.test_ajax_fall_through_method/original