def test_index_redirection(self): resp = index_redirection() self.assertEqual(resp.status_code, 200) resp.close()
def test_index_redirection(self): """Test index page redirection.""" resp = index_redirection() self.assertEqual(resp.status_code, 200) resp.close()