Exemplo n.º 1
0
 def test_message_delete_ajax(self):
     self.ajax_request()
     res = message_delete(self.request, self.message.pk)
     self.assertAjaxRequestOkay(res)
Exemplo n.º 2
0
 def test_message_delete_ajax(self):
     self.ajax_request()
     res = message_delete(self.request, self.message.pk)
     self.assertAjaxRequestOkay(res)
Exemplo n.º 3
0
    def test_message_delete(self):
        self.assert404(message_delete)

        self.non_ajax_request()
        res = message_delete(self.request, self.message.pk)
        self.assertNonAjaxRequestOkay(res)
Exemplo n.º 4
0
    def test_message_delete(self):
        self.assert404(message_delete)

        self.non_ajax_request()
        res = message_delete(self.request, self.message.pk)
        self.assertNonAjaxRequestOkay(res)