(self)
| 386 | ) |
| 387 | |
| 388 | def test_set_cookie_max_age(self): |
| 389 | response = self.fetch("/set_max_age") |
| 390 | headers = response.headers.get_list("Set-Cookie") |
| 391 | self.assertEqual(sorted(headers), ["foo=bar; Max-Age=10; Path=/"]) |
| 392 | |
| 393 | def test_set_cookie_expires_days(self): |
| 394 | response = self.fetch("/set_expires_days") |