286
298
settings.ROOT_URLCONF = self._old_root_urlconf
289
314
def assertRedirects(self, response, expected_url, status_code=302,
290
315
target_status_code=200, host=None, msg_prefix=''):
291
316
"""Asserts that a response redirected to a specific URL, and that the