def test_visit_root_fallback(self): r = visit_root(self.section3) self.assertEqual(r.status_code, 302)
def test_visit_root(self): r = visit_root(self.section1) self.assertEqual(r.status_code, 302)