changeset 7436 | 28ec860c4436 |
parent 7398 | 26695dd703d8 |
parent 7434 | 17ef6f9efaa1 |
child 7855 | 54283a5b7afc |
--- a/devtools/fake.py Wed May 25 11:42:31 2011 +0200 +++ b/devtools/fake.py Wed May 25 13:39:08 2011 +0200 @@ -58,7 +58,7 @@ if not (args or 'vreg' in kwargs): kwargs['vreg'] = CubicWebVRegistry(FakeConfig(), initlog=False) kwargs['https'] = False - self._url = kwargs.pop('url', 'view?rql=Blop&vid=blop') + self._url = kwargs.pop('url', None) or 'view?rql=Blop&vid=blop' super(FakeRequest, self).__init__(*args, **kwargs) self._session_data = {} self._headers_in = Headers()