Commit 16bed3d4 authored by Nsukami Patrick's avatar Nsukami Patrick
Browse files

Flake8: fix F841 assigned but never used

parent ff89d2885e00
......@@ -15,7 +15,7 @@ class BoostrapTheMainTemplateTC(CubicWebTC):
def test_valid_xhtml_error(self):
valid = self.content_type_validators.get('text/html', XMLValidator)()
with self.admin_access.web_request() as req:
page = valid.parse_string(self.vreg['views'].main_template(req, 'error-template'))
valid.parse_string(self.vreg['views'].main_template(req, 'error-template'))
if __name__ == '__main__':
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment