summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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