示例#1
0
 def test_open_ended_panel(self):
     """
     Test to see if the peer grading module in the demo course is found
     @return:
     """
     found_module, peer_grading_module = views.find_peer_grading_module(self.course)
     self.assertTrue(found_module)
示例#2
0
    def test_peer_grading_nopath(self):
        """
        The open_ended_nopath course contains a peer grading module with no path to it.
        Ensure that the exception is caught.
        """

        found, url = views.find_peer_grading_module(self.course)
        self.assertEqual(found, False)