Re: Empty context within template tag render() method after using django.test.client.Client.login() method

2013-09-23 Thread Jonathan Baker
Below are some snippets involved in generating the error. The 'test_get_unauthenticated' works as expected, but 'test_get_ok' fails while rendering the template response and calling the menu tag of django-menu (full module:

Empty context within template tag render() method after using django.test.client.Client.login() method

2013-09-22 Thread jondbaker
Within my integration tests, it appears that after using the login() method of django.test.client.Client the context dict consists only of: [{'False': False, 'None': None, 'True': True}, {}, {}]. If I remove the use of login(), then the request dict consists of: [{'False': False, 'None':