I would like to read some session variables from a test (Django TestCase)
How to do that in a clean way ?
def test_add_docs(self): \"\"\" Tes
You should be able to access a Client's session variales through its session property, so I guess self.client.session['documents_to_share_ids'] = [1] should be what you are looking for!
Client
session
self.client.session['documents_to_share_ids'] = [1]