def test_load_and_store_cookies(self):
        self.assertFalse(self.client.cookies)

        resp = self.client.get('/session/')
        self.assertEqual(resp.status_code, 200)
        self.assertEqual(resp.body, six.b('Set session name'))
        self.assertTrue(self.client.cookies)
        self.assertTrue(self.client.cookies in 'gsessionid')

        resp = self.client.get('/session/')
        self.assertEqual(resp.status_code, 200)
        self.assertEqual(resp.body, six.b('Get session name = allisson'))
        self.assertTrue(self.client.cookies)
        self.assertTrue('gsessionid' in self.client.cookies)

        resp = self.client.get('/session2/')
        self.assertEqual(resp.status_code, 200)
        self.assertEqual(resp.body, six.b('Session is gone'))
        self.assertTrue(self.client.cookies)
dataset/ETHPy150Open allisson/gunstar/tests/test_testing.py/ClientTest.test_load_and_store_cookies/swapped operands of `in`