'Verify that the EligibleCertificateManager filters out
certificates marked as ineligible, and that the default object
manager for GeneratedCertificate does not filter them out.'

def test_filter_ineligible_certificates(self):

    self.assertEqual(list(GeneratedCertificate.eligible_certificates.filter(user=self.user)), [self.eligible_cert])
    self.assertEqual(list(GeneratedCertificate.objects.filter(user=self.user)), [self.eligible_cert, self.ineligible_cert])
