From 2af309223d6050feff3f85701a93166f3d4b5fee Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 21 Aug 2023 18:06:29 -0400 Subject: add integration tests --- tests/pkgs/static_abspath_nulbyte/__init__.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/pkgs/static_abspath_nulbyte/__init__.py (limited to 'tests/pkgs/static_abspath_nulbyte') diff --git a/tests/pkgs/static_abspath_nulbyte/__init__.py b/tests/pkgs/static_abspath_nulbyte/__init__.py new file mode 100644 index 000000000..a946fcdf9 --- /dev/null +++ b/tests/pkgs/static_abspath_nulbyte/__init__.py @@ -0,0 +1,10 @@ +import os + + +def includeme(config): + here = here = os.path.dirname(__file__) + static + static = os.path.normpath( + os.path.join(here, '..', '..', 'fixtures', 'statc') + ) + config.add_static_view('/', static) -- cgit v1.2.3 From d4a821c7b134b983e72e653b17b5a25507552620 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 21 Aug 2023 18:27:04 -0400 Subject: re-add integration tests (bad merge) and add integration test for nulbyte check when asset spec override exists --- tests/pkgs/static_abspath_nulbyte/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/pkgs/static_abspath_nulbyte') diff --git a/tests/pkgs/static_abspath_nulbyte/__init__.py b/tests/pkgs/static_abspath_nulbyte/__init__.py index a946fcdf9..2248522e9 100644 --- a/tests/pkgs/static_abspath_nulbyte/__init__.py +++ b/tests/pkgs/static_abspath_nulbyte/__init__.py @@ -3,8 +3,7 @@ import os def includeme(config): here = here = os.path.dirname(__file__) - static static = os.path.normpath( - os.path.join(here, '..', '..', 'fixtures', 'statc') + os.path.join(here, '..', '..', 'fixtures', 'static') ) config.add_static_view('/', static) -- cgit v1.2.3