Exemplo n.º 1
0
 def __exit__(self, *exc_info):
     from passlib import registry
     registry._unload_handler_name(self.name, locations=False)
Exemplo n.º 2
0
 def __enter__(self):
     from passlib import registry
     registry._unload_handler_name(self.name, locations=False)
     registry.register_crypt_handler(self.dummy)
     assert registry.get_crypt_handler(self.name) is self.dummy
     return self.dummy
Exemplo n.º 3
0
 def __enter__(self):
     from passlib import registry
     registry._unload_handler_name(self.name, locations=False)
     registry.register_crypt_handler(self.dummy)
     assert registry.get_crypt_handler(self.name) is self.dummy
     return self.dummy
Exemplo n.º 4
0
 def __exit__(self, *exc_info):
     from passlib import registry
     registry._unload_handler_name(self.name, locations=False)
Exemplo n.º 5
0
 def __exit__(self, *exc_info):
     registry._unload_handler_name(self.name, locations=False)