def test_delete(self): """A certificate is deleted.""" # XXX: rockstar (08 Jun 2016) - This just executes a code path. An # assertion should be added. an_certificate = models.Certificate(self.client, fingerprint="an-certificate") an_certificate.delete()
def test_fetch(self): """A partial object is fully fetched.""" an_certificate = models.Certificate(self.client, fingerprint="an-certificate") an_certificate.sync() self.assertEqual("certificate-content", an_certificate.certificate)