Correct bugs in lock-handling, add more unit tests

This commit is contained in:
Griatch 2018-02-03 01:17:52 +01:00
parent a74fd55c7b
commit 3b7648ec0e
3 changed files with 226 additions and 57 deletions

View file

@ -619,7 +619,7 @@ class DefaultAccount(with_metaclass(TypeclassBase, AccountDB)):
self.basetype_setup()
self.at_account_creation()
permissions = settings.PERMISSION_ACCOUNT_DEFAULT
permissions = [settings.PERMISSION_ACCOUNT_DEFAULT]
if hasattr(self, "_createdict"):
# this will only be set if the utils.create_account
# function was used to create the object.