Estoy tratando de crear un UnitTest para verificar que se haya eliminado un objeto.
from django.utils import unittest
def test_z_Kallie_can_delete_discussion_response(self):
...snip...
self._driver.get("http://localhost:8000/questions/3/want-a-discussion")
self.assertRaises(Answer.DoesNotExist, Answer.objects.get(body__exact = '<p>User can reply to discussion.</p>'))
Sigo recibiendo el error:
DoesNotExist: Answer matching query does not exist.