New Auth tests

This commit is contained in:
Hardirc
2016-04-16 19:35:06 -04:00
parent 2a2771c4cc
commit 92b3c8f777
2 changed files with 48 additions and 3 deletions
+1 -3
View File
@@ -2527,9 +2527,7 @@ class Auth(object):
# log messages should not be translated
if type(description).__name__ == 'lazyT':
description = description.m
self.table_event().insert(
description=str(description % vars),
origin=origin, user_id=user_id)
self.table_event().insert(description=str(description % vars), origin=origin, user_id=user_id)
def get_or_create_user(self, keys, update_fields=['email'],
login=True, get=True):