Пример #1
0
 def test_success(self):
     mommy.save_one(Course)
     template_response = index()
     self.assert_can_render(template_response)
Пример #2
0
 def test_success(self):
     mommy.save_one(Course)
     template_response = index()
     self.assert_can_render(template_response)
Пример #3
0
 def test_index(self):
     mommy.save_one(Course)
     resposta = home.index()
     self.assert_can_render(resposta)