summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTres Seaver <tseaver@palladion.com>2023-08-21 14:50:34 -0400
committerTres Seaver <tseaver@palladion.com>2023-08-21 14:50:34 -0400
commitd1dc3789e30c5ffa3e75df39033b9bd9752aebd5 (patch)
tree5e3cbe95b3c045490b2e4cc2912b12adee993ada /tests
parent354d69a7b397571e3845de13ecabbfeb9d7f100b (diff)
downloadpyramid-d1dc3789e30c5ffa3e75df39033b9bd9752aebd5.tar.gz
pyramid-d1dc3789e30c5ffa3e75df39033b9bd9752aebd5.tar.bz2
pyramid-d1dc3789e30c5ffa3e75df39033b9bd9752aebd5.zip
chore: appease lint, better varname
Diffstat (limited to 'tests')
-rw-r--r--tests/test_static.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/test_static.py b/tests/test_static.py
index 97978f2a4..5b11d89a8 100644
--- a/tests/test_static.py
+++ b/tests/test_static.py
@@ -108,10 +108,8 @@ class Test_static_view_use_subpath_False(unittest.TestCase):
import os
inst = self._makeOne(f'{os.getcwd()}/tests/fixtures/static')
- dds = '..\x00/'
- request = self._makeRequest(
- {'PATH_INFO': f'/{dds}'}
- )
+ super_w_null = '..\x00/'
+ request = self._makeRequest({'PATH_INFO': f'/{super_w_null}'})
context = DummyContext()
from pyramid.httpexceptions import HTTPNotFound