Re: Test client - session data is empty and won't save new entries

2009-04-28 Thread Stefan Wallner
So by switching from the development server to a local Apache/MySQL setup I eventually managed to get access to the session data as expected. I then narrowed down that the settings.py for those two environments had different settings for CACHE_BACKEND (don't ask me why): - Dev. server: CACHE

Test client - session data is empty and won't save new entries

2009-04-27 Thread Stefan Wallner
Hi, I am writing some tests for an application I am developing, in my test case's setUp I do self.dummy1 = User.objects.create_user('dummy1', 'n...@example.com', self.c = Client() self.c.login(username='dummy', password='dummy') In one of the tests I POST some data and then check that the respon