diff options
| author | Chris McDonough <chrism@plope.com> | 2023-08-21 18:43:33 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2023-08-21 18:43:33 -0400 |
| commit | bf998f3b0064a9c342f114120d069ec8251e2ff8 (patch) | |
| tree | e556cf9f29ecd6736b0fa03310d97b8d8f7e38d5 /tests | |
| parent | d4a821c7b134b983e72e653b17b5a25507552620 (diff) | |
| download | pyramid-bf998f3b0064a9c342f114120d069ec8251e2ff8.tar.gz pyramid-bf998f3b0064a9c342f114120d069ec8251e2ff8.tar.bz2 pyramid-bf998f3b0064a9c342f114120d069ec8251e2ff8.zip | |
appease linter
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_integration.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/test_integration.py b/tests/test_integration.py index d14ee846e..63a7088e9 100644 --- a/tests/test_integration.py +++ b/tests/test_integration.py @@ -230,18 +230,19 @@ class TestStaticAppUsingAbsPathNulByte(IntegrationBase, unittest.TestCase): def test_nulbyte_chroot(self): super_w_null = '..\x00/' - res = self.testapp.get(f'/{super_w_null}', status=404) + self.testapp.get(f'/{super_w_null}', status=404) + class TestStaticAppUsingAssetSpecNulByte(IntegrationBase, unittest.TestCase): package = 'tests.pkgs.static_assetspec_nulbyte' def test_nulbyte_chroot(self): super_w_null = '..\x00/' - res = self.testapp.get(f'/{super_w_null}', status=404) + self.testapp.get(f'/{super_w_null}', status=404) def test_nulbyte_chroot_assetspec_override(self): super_w_null = '..\x00/' - res = self.testapp.get(f'/sub/{super_w_null}', status=404) + self.testapp.get(f'/sub/{super_w_null}', status=404) class TestStaticAppWithEncodings(IntegrationBase, unittest.TestCase): |
