equal
deleted
inserted
replaced
45 kwargs['https'] = False |
45 kwargs['https'] = False |
46 self._url = kwargs.pop('url', 'view?rql=Blop&vid=blop') |
46 self._url = kwargs.pop('url', 'view?rql=Blop&vid=blop') |
47 super(FakeRequest, self).__init__(*args, **kwargs) |
47 super(FakeRequest, self).__init__(*args, **kwargs) |
48 self._session_data = {} |
48 self._session_data = {} |
49 self._headers = {} |
49 self._headers = {} |
50 self.config = self.vreg.config |
|
51 self.schema = self.vreg.schema |
|
52 |
50 |
53 def header_accept_language(self): |
51 def header_accept_language(self): |
54 """returns an ordered list of preferred languages""" |
52 """returns an ordered list of preferred languages""" |
55 return ('en',) |
53 return ('en',) |
56 |
54 |