(self)
| 414 | self.assertEqual(response.body, b"default") |
| 415 | |
| 416 | def test_set_cookie_domain(self): |
| 417 | response = self.fetch("/set_domain") |
| 418 | self.assertEqual( |
| 419 | response.headers.get_list("Set-Cookie"), |
| 420 | ["unicode_args=blah; Domain=foo.com; Path=/foo"], |
| 421 | ) |
| 422 | |
| 423 | def test_cookie_special_char(self): |
| 424 | response = self.fetch("/special_char") |