Did I find the right examples for you? yes no

All Samples(6)  |  Call(1)  |  Derive(2)  |  Import(3)

src/l/a/lacore-0.1.3/lacore/t/test_cipher.py   lacore(Download)
    def test_cipher_base(self):
        from lacore.cipher import CipherBase
        CipherBase()
 
    @raises(TypeError)
    def test_cipher_base_inherit(self):
        from lacore.cipher import CipherBase
 
        class Foo(CipherBase):
    def _makeit(self, *args, **kwargs):
        from lacore.cipher import CipherBase
 
        class Foo(CipherBase):
            mode = 'foo'