Is there a way to make flask use sessions correctly with the test client? Meaning that the session data will live on during multiple self.app.test_client().get or self.app.test_client().post requests? -- Thadeus
It should work fine, if you use with app.test_request_context(). On 4 September 2010 05:45, Thadeus Burgess <thadeusb@thadeusb.com> wrote: > Is there a way to make flask use sessions correctly with the test > client? Meaning that the session data will live on during multiple > self.app.test_client().get or self.app.test_client().post requests? > > -- > Thadeus >