Exemplo n.º 1
0
 def setUp(self):
     """ extra setUp to make a working session """
     from django.conf import settings
     engine = import_module(settings.SESSION_ENGINE)
     store = engine.SessionStore()
     store.save()
     self.client = LocalizingClient()
     self.client.cookies[settings.SESSION_COOKIE_NAME] = store.session_key
     self.adapter = KumaSocialAccountAdapter()
Exemplo n.º 2
0
 def setUp(self):
     """ extra setUp to make a working session """
     super(KumaSocialAccountAdapterTestCase, self).setUp()
     self.adapter = KumaSocialAccountAdapter()