'A request for a nonexistent URL shouldn\'t cause a redirect to
/<defaut_language>/<request_url> when prefix_default_language=False and
/<default_language>/<request_url> has a URL match (#27402).'

def test_no_redirect_on_404(self):

    response = self.client.get('/group1/group2/')
    self.assertEqual(response.status_code, 200)
    response = self.client.get('/nonexistent/')
    self.assertEqual(response.status_code, 404)
