def test_keep_decorator(self):
        self.response = self.client.get(reverse(views.set_flash_var))
        self.assertEqual('Message', self._flash()['message'])

        self.response = self.client.get(reverse(views.keep_var_decorator))
        self.assertEqual('Message', self._flash()['message'])

        # Flash value won't be removed now because it was explicitely kept
        self.response = self.client.get(reverse(views.render_template))
        self.assertEqual('Message', self._flash()['message'])

        # Flash value will be removed when this request hits the app
        self.response = self.client.get(reverse(views.render_template))
        self.assertFalse('message' in self._flash())
Returns a new method that wraps orig (the original method) with
dataset/ETHPy150Open danielfm/django-flash/src/djangoflash/tests/testproj/app/tests.py/IntegrationTestCase.test_keep_decorator--crossover with--dataset/ETHPy150Open meejah/txtorcon/txtorcon/torconfig.py/_wrapture