equal
deleted
inserted
replaced
90 self.datadir_url = vreg.config.https_datadir_url |
90 self.datadir_url = vreg.config.https_datadir_url |
91 else: |
91 else: |
92 self.uiprops = vreg.config.uiprops |
92 self.uiprops = vreg.config.uiprops |
93 self.datadir_url = vreg.config.datadir_url |
93 self.datadir_url = vreg.config.datadir_url |
94 # raw html headers that can be added from any view |
94 # raw html headers that can be added from any view |
95 self.html_headers = HTMLHead(self.datadir_url) |
95 self.html_headers = HTMLHead(self) |
96 # form parameters |
96 # form parameters |
97 self.setup_params(form) |
97 self.setup_params(form) |
98 # dictionnary that may be used to store request data that has to be |
98 # dictionnary that may be used to store request data that has to be |
99 # shared among various components used to publish the request (views, |
99 # shared among various components used to publish the request (views, |
100 # controller, application...) |
100 # controller, application...) |
260 |
260 |
261 def reset_headers(self): |
261 def reset_headers(self): |
262 """used by AutomaticWebTest to clear html headers between tests on |
262 """used by AutomaticWebTest to clear html headers between tests on |
263 the same resultset |
263 the same resultset |
264 """ |
264 """ |
265 self.html_headers = HTMLHead(self.datadir_url) |
265 self.html_headers = HTMLHead(self) |
266 return self |
266 return self |
267 |
267 |
268 # web state helpers ####################################################### |
268 # web state helpers ####################################################### |
269 |
269 |
270 @property |
270 @property |