Exemple #1
0
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()
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()
Exemple #4
0
 def setUp(self):
     self.store = CertStoreBase()