Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
squareui
Commits
bf6287741525
Commit
16bed3d4
authored
Feb 05, 2019
by
Nsukami Patrick
Browse files
Flake8: fix F841 assigned but never used
parent
ff89d2885e00
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/unittest_views.py
View file @
bf628774
...
...
@@ -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__'
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment