I am testing a django application with twill and django-test-utils and it does not register me.
I think this is not a django session cookie setting. I go to a webpage (in twill) that calls request.session.set_test_cookie(), and after that call returns twill.show_cookies()(which should print cookies), does not show cookies. In another page / view request.session.test_cookie_worked()returns False.
Oddly enough, another page calls request.set_cookie(...)to manually set a cookie, and it works. twill.show_cookies()indicates cookie. So some cookies work, but session middleware just doesn't work ...
What could be? How to set django session cookie in twill?
Some other people had similar problems, example for django-users , cookie comment on another twill / django script
source
share