Skip to content

Commit c7a13da

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 000d4e8 commit c7a13da

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/panels/test_template.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -111,14 +111,13 @@ def test_empty_context(self):
111111
)
112112

113113
def test_lazyobject(self):
114-
response = self.panel.process_request(self.request)
114+
self.panel.process_request(self.request)
115115
t = Template("")
116116
c = Context({"lazy": SimpleLazyObject(lambda: "lazy_value")})
117117
t.render(c)
118118
self.assertNotIn("lazy_value", self.panel.content)
119119

120120

121-
122121
@override_settings(
123122
DEBUG=True, DEBUG_TOOLBAR_PANELS=["debug_toolbar.panels.templates.TemplatesPanel"]
124123
)

0 commit comments

Comments
 (0)