branch | stable |
changeset 7434 | 17ef6f9efaa1 |
parent 7232 | 506a0af77cee |
child 7436 | 28ec860c4436 |
--- a/devtools/fake.py Wed May 25 11:39:54 2011 +0200 +++ b/devtools/fake.py Wed May 25 12:35:33 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()