def test_nonascii_redirect(self):
        response = self.client.get('/nonascii_redirect/')
        self.assertRedirects(response, self.redirect_target)
This is a decorator which can be used to mark functions
dataset/ETHPy150Open django/django/tests/view_tests/tests/test_specials.py/URLHandling.test_nonascii_redirect--crossover with--dataset/ETHPy150Open SmokinCaterpillar/pypet/pypet/utils/decorators.py/deprecated