Skip to content

Commit 341276c

Browse files
committed
Access the path by index
1 parent cd4b236 commit 341276c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/panels/test_staticfiles.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def test_context_variable_lifecycle(self):
114114
url = storage.staticfiles_storage.url("test.css")
115115
self.assertTrue(url.startswith("/static/"))
116116
# Verify file was tracked
117-
self.assertIn("test.css", [f.path for f in self.panel.used_paths])
117+
self.assertIn("test.css", [f[0] for f in self.panel.used_paths])
118118
finally:
119119
request_id_context_var.reset(token)
120120

0 commit comments

Comments
 (0)