Skip to content

Commit

Permalink
appease linter
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdonc authored and mmerickel committed Aug 25, 2023
1 parent 6623dfc commit aca5337
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit aca5337

Please sign in to comment.