class CertificationBaseTestCase(TestCase): def setUp(self): self.cert = CertificateBase() def test_create(self): with self.assertRaises(NotImplementedError): self.cert.create() def test_get(self): with self.assertRaises(NotImplementedError): self.cert.get() def test_delete(self): with self.assertRaises(NotImplementedError): self.cert.delete() def test_verify(self): with self.assertRaises(NotImplementedError): self.cert.verify()
def setUp(self): self.cert = CertificateBase()