'regression for #16705'

def test_redirect_when_meta_contains_no_query_string(self):

    response = RedirectView.as_view(url='/bar/')(self.rf.request(PATH_INFO='/foo/'))
    self.assertEqual(response.status_code, 302)
