def test_success(self): mommy.save_one(Course) template_response = index() self.assert_can_render(template_response)
def test_index(self): mommy.save_one(Course) resposta = home.index() self.assert_can_render(resposta)