'Check that has_ended correctly tells us when a course is over.'

def test_has_ended(self):

    self.assertTrue(self.past_show_certs.has_ended())
    self.assertTrue(self.past_show_certs_no_info.has_ended())
    self.assertTrue(self.past_noshow_certs.has_ended())
    self.assertFalse(self.future_show_certs.has_ended())
    self.assertFalse(self.future_show_certs_no_info.has_ended())
    self.assertFalse(self.future_noshow_certs.has_ended())
