From e120d5286646e66b5be5cb6b4b11c29464559dbe Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Apr 26 2015 08:37:31 +0000 Subject: Add a fas_session_id to the user created for the tests --- diff --git a/tests/__init__.py b/tests/__init__.py index cb5a16e..256c964 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -68,6 +68,7 @@ def user_set(APP, user): def handler(sender, **kwargs): g.fas_user = user + g.fas_session_id = b'123' with appcontext_pushed.connected_to(handler, APP): yield