def test_replace_flash_with_invalid_object(self):
        self.assertRaises(SuspiciousOperation, self.client.get, reverse(views.replace_flash))
Integration: an exception should be raised when exposing an invalid object as being the flash.
dataset/ETHPy150Open danielfm/django-flash/src/djangoflash/tests/testproj/app/tests.py/IntegrationTestCase.test_replace_flash_with_invalid_object