'Sessions shouldn\'t be resurrected by a concurrent request.'

def test_session_save_does_not_resurrect_session_logged_out_in_other_context(self):

    s1 = self.backend()
    s1['test_data'] = 'value1'
    s1.save(must_create=True)
    s2 = self.backend(s1.session_key)
    s2.delete()
    s1['test_data'] = 'value2'
    with self.assertRaises(UpdateError):
        s1.save()
    self.assertEqual(s1.load(), {})
