class CertStoreBaseTestCase(TestCase): def setUp(self): self.store = CertStoreBase() def test_save(self): with self.assertRaises(NotImplementedError): self.store.save() def test_get(self): with self.assertRaises(NotImplementedError): self.store.get() def test_get_url(self): with self.assertRaises(NotImplementedError): self.store.get_url() def test_get_all(self): with self.assertRaises(NotImplementedError): self.store.get_all() def test_delete(self): with self.assertRaises(NotImplementedError): self.store.delete()
def setUp(self): self.store = CertStoreBase()