diff -r d95a76df33a9 -r 54283a5b7afc devtools/fake.py --- a/devtools/fake.py Fri Sep 23 12:17:12 2011 +0200 +++ b/devtools/fake.py Fri Sep 23 12:16:29 2011 +0200 @@ -63,8 +63,8 @@ self._session_data = {} self._headers_in = Headers() - def set_cookie(self, cookie, key, maxage=300, expires=None): - super(FakeRequest, self).set_cookie(cookie, key, maxage=300, expires=None) + def set_cookie(self, name, value, maxage=300, expires=None, secure=False): + super(FakeRequest, self).set_cookie(name, value, maxage, expires, secure) cookie = self.get_response_header('Set-Cookie') self._headers_in.setHeader('Cookie', cookie)