def setUp(self):
        self.request = HttpRequest()
        self.request.flash = self.flash = FlashScope()
        self.flash['message'] = 'Message'
        self.flash.update()
Create a request with an used message inside the flash.
dataset/ETHPy150Open danielfm/django-flash/src/djangoflash/tests/decorators.py/KeepMessagesDecoratorTestCase.setUp