def METHOD_NAME(self):
    with patch(
        "kolibri.core.device.translation.get_device_language", return_value="fr-fr"
    ):
        response = self.client.get(get_url("prefixed/"), follow=True)
        self.assertRedirects(response, get_url("fr-fr/prefixed/"), 302)